Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Issue 2069273002: [NOT FOR COMMIT] Added GN support for Android .AAR packaged libraries (Closed)

Created:
4 years, 6 months ago by bajones
Modified:
4 years, 4 months ago
Reviewers:
Ian Wen, agrieve
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NOT FOR COMMIT] Added GN support for Android .AAR packaged libraries BUG=611171

Patch Set 1 #

Total comments: 14

Patch Set 2 : Trying a different route from editing build configs #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -0 lines) Patch
A build/android/gyp/unpack_aar.py View 1 1 chunk +32 lines, -0 lines 0 comments Download
M build/config/android/rules.gni View 1 1 chunk +68 lines, -0 lines 4 comments Download

Messages

Total messages: 6 (2 generated)
agrieve
Awesome start! https://codereview.chromium.org/2069273002/diff/1/build/android/gyp/write_build_config.py File build/android/gyp/write_build_config.py (right): https://codereview.chromium.org/2069273002/diff/1/build/android/gyp/write_build_config.py#newcode45 build/android/gyp/write_build_config.py:45: _RESOURCE_TYPES = ('android_assets', 'android_resources', 'android_aar') aar matches ...
4 years, 6 months ago (2016-06-16 02:00:04 UTC) #2
bajones
Here's the latest variant of the AAR template. I'd definitely appreciate some testing on a ...
4 years, 5 months ago (2016-06-28 18:44:35 UTC) #4
agrieve
https://codereview.chromium.org/2069273002/diff/20001/build/config/android/rules.gni File build/config/android/rules.gni (right): https://codereview.chromium.org/2069273002/diff/20001/build/config/android/rules.gni#newcode2518 build/config/android/rules.gni:2518: _output_path = "${root_out_dir}/unpacked_aar/${target_name}" nit: should use "$target_gen_dir/$target_name" https://codereview.chromium.org/2069273002/diff/20001/build/config/android/rules.gni#newcode2536 build/config/android/rules.gni:2536: ...
4 years, 5 months ago (2016-06-28 19:36:06 UTC) #5
bajones
4 years, 5 months ago (2016-06-28 19:55:55 UTC) #6
On 2016/06/28 19:36:06, agrieve wrote:
>
https://codereview.chromium.org/2069273002/diff/20001/build/config/android/ru...
> build/config/android/rules.gni:2536:
exec_script("//build/android/gyp/find.py",
> this runs at gn gen time, so won't actually find any files on the first build.

Aahhhhhh,,,,,, this explains *so much*! Thanks!

Powered by Google App Engine
This is Rietveld 408576698