New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 820907 link

Starred by 3 users

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

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:
 
Screenshot from 2018-03-12 15:50:37.png
285 KB View Download
Cc: sandeepkumars@chromium.org
Labels: Needs-triage-Mobile TE-NeedsTriageHelp Triaged-Mobile
This seems to be out of TE-Scope. Hence adding TE-NeedsTriageHelp label for further triage.

Sign in to add a comment