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

Issue 820460 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Android build: Use aapt2 instead of aapt to generate R.txt file

Project Member Reported by digit@chromium.org, Mar 9 2018

Issue description

The R.txt file generated for android_resources targets (through build/android/gyp/process_resources.py) uses 'aapt' instead of 'aapt2' because the latter doesn't support the --output-text-symbols option when doing 'aapt2 compile' (it does when doing 'aapt2 link' though).

However, 'aapt' is deprecated and will be removed in the future, and an upcoming version of 'aapt2' will support this option during compilation.

This is to track the issue and fix it once we roll the Chromium build to a newer Android SDK that has the right tool.

 

Comment 1 by digit@chromium.org, Mar 9 2018

Labels: -Type-Bug Type-Feature
I'd be surprised if aapt went away since aapt2 has no where near the "dump" capabilities. Makes sense to use aapt2 for R.txt if it does eventually support it though.

Comment 3 by digit@chromium.org, Mar 9 2018

I've been told by Android SDK developers that 'aapt' will be deprecated "soon", hence this issue. There is no rush though :)

Sign in to add a comment