can not use the aar(generated by dist_aar) to build the content_shell_apk
Reported by
alexande...@gmail.com,
Mar 12 2018
|
|
Issue description
Steps to reproduce the problem:
1. add
+dist_aar("content_shell_aar") {
+ testonly = true
+ deps = [ ":content_shell_java" ]
+ output = "$root_build_dir/MyLibrary.aar"
+}
to content/shell/android/BUILD.gn
2. ninja -C out/my_path content_shell_aar
3. use the $root_build_dir/MyLibrary.aar and content/shell/shell_apk to generate an apk by android studio
What is the expected behavior?
What went wrong?
from the file attached, some resources are malformed
for example, common_google_signin_btn_text_dark_normal_background.9.png in android_tools is 740 bytes long
but in aar, it is 960 bytes long.
I guess it's a bug of android_resources function in the build/config/android/rules.gni
WebStore page:
Did this work before? N/A
Chrome version: 65.0.3325.149 Channel: stable
OS Version: ALL
Flash Version:
|
|
►
Sign in to add a comment |
|
Comment 1 by sandeepkumars@chromium.org
, Apr 4 2018Labels: Needs-triage-Mobile TE-NeedsTriageHelp Triaged-Mobile