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

Issue 2295363002: 🔔 Allow android_* targets to specify proguard flags for apks (Closed)

Created:
4 years, 3 months ago by agrieve
Modified:
4 years, 3 months ago
Reviewers:
Ian Wen, bshe
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow android_* targets to specify proguard flags for apks There are two current places where this comes up: play services and gvr. Both have been updated in this change to use the new variable. Follow-up change will be made to remove the play-services-specific -keep from base/android/base_proguard_config.flags.new once downstream has updated to use this new flag as well. This does not yet support detecting proguard.flags file within an .aar. That will come later as well. TBR=bshe BUG=640836 Committed: https://crrev.com/aeb5a420fe3017cf81b0fb23770edf51238623c5 Cr-Commit-Position: refs/heads/master@{#415962}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -19 lines) Patch
M build/android/gyp/proguard.py View 3 chunks +11 lines, -3 lines 0 comments Download
M build/android/gyp/write_build_config.py View 3 chunks +10 lines, -0 lines 2 comments Download
M build/config/android/internal_rules.gni View 3 chunks +15 lines, -2 lines 0 comments Download
M build/config/android/rules.gni View 7 chunks +13 lines, -1 line 0 comments Download
M build/secondary/third_party/android_tools/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A build/secondary/third_party/android_tools/apk_proguard.flags View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/android/chrome_public_apk_tmpl.gni View 1 chunk +7 lines, -13 lines 0 comments Download
M third_party/gvr-android-sdk/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (8 generated)
agrieve
bshe@chromium.org: Please review changes in gvr ianwen: Please review all else
4 years, 3 months ago (2016-08-31 20:42:56 UTC) #2
Ian Wen
lgtm There is a lot of argument plumbing going on. :) https://codereview.chromium.org/2295363002/diff/1/build/android/gyp/write_build_config.py File build/android/gyp/write_build_config.py (right): ...
4 years, 3 months ago (2016-09-01 01:31:55 UTC) #3
agrieve
On 2016/09/01 01:31:55, Ian Wen wrote: > lgtm > > There is a lot of ...
4 years, 3 months ago (2016-09-01 14:06:43 UTC) #5
agrieve
https://codereview.chromium.org/2295363002/diff/1/build/android/gyp/write_build_config.py File build/android/gyp/write_build_config.py (right): https://codereview.chromium.org/2295363002/diff/1/build/android/gyp/write_build_config.py#newcode282 build/android/gyp/write_build_config.py:282: help='GYP-list of proguard flag files to use in final ...
4 years, 3 months ago (2016-09-01 14:07:09 UTC) #6
commit-bot: I haz the power
This CL has an open dependency (Issue 2302533002 Patch 1). Please resolve the dependency and ...
4 years, 3 months ago (2016-09-01 14:07:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2295363002/1
4 years, 3 months ago (2016-09-01 14:46:38 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-01 15:45:21 UTC) #14
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 15:49:34 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/aeb5a420fe3017cf81b0fb23770edf51238623c5
Cr-Commit-Position: refs/heads/master@{#415962}

Powered by Google App Engine
This is Rietveld 408576698