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

Issue 2827793005: Get Proguard flags from GMS clients (upstream part) (Closed)

Created:
3 years, 8 months ago by paulmiller
Modified:
3 years, 8 months ago
Reviewers:
jbudorick, Maria
CC:
chromium-reviews, mikecase+watch_chromium.org, jbudorick+watch_chromium.org, agrieve+watch_chromium.org, dgn, Maria
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Get Proguard flags from GMS clients (upstream part) Update the GMS preprocessing script to enumerate the proguard files that come with the client libs, and put them in a generated .gni file. Use the generated file to pull in the recommended flags, and remove them from apk_proguard.flags. This will preclude some human error in the GMS roll process. In v9, each GMS client has its own proguard.txt file, with common flags duplicated accross clients. In v10, most clients don't have their own proguard.txt, with common flags only in the "basement" client. BUG=708349 Review-Url: https://codereview.chromium.org/2827793005 Cr-Commit-Position: refs/heads/master@{#465814} Committed: https://chromium.googlesource.com/chromium/src/+/3278d07f94c85839bac14d4f9495056c82977b56

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : constant copyright year #

Total comments: 7

Patch Set 4 : absolute GN paths #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -1 line) Patch
M build/android/play_services/preprocess.py View 1 2 3 5 chunks +47 lines, -1 line 0 comments Download

Messages

Total messages: 22 (8 generated)
paulmiller
On 2017/04/18 23:38:49, paulmiller wrote: > mailto:paulmiller@chromium.org changed reviewers: > + mailto:jbudorick@chromium.org PTAL
3 years, 8 months ago (2017-04-18 23:39:40 UTC) #3
jbudorick
https://codereview.chromium.org/2827793005/diff/1/build/android/play_services/preprocess.py File build/android/play_services/preprocess.py (right): https://codereview.chromium.org/2827793005/diff/1/build/android/play_services/preprocess.py#newcode203 build/android/play_services/preprocess.py:203: gni_text += 'gms_proguard_configs = [\n' Build the (sorted) list ...
3 years, 8 months ago (2017-04-18 23:59:12 UTC) #4
Maria
lgtm https://codereview.chromium.org/2827793005/diff/1/build/android/play_services/preprocess.py File build/android/play_services/preprocess.py (right): https://codereview.chromium.org/2827793005/diff/1/build/android/play_services/preprocess.py#newcode202 build/android/play_services/preprocess.py:202: gni_text = '# This file generated by ' ...
3 years, 8 months ago (2017-04-19 05:40:35 UTC) #6
paulmiller
https://codereview.chromium.org/2827793005/diff/1/build/android/play_services/preprocess.py File build/android/play_services/preprocess.py (right): https://codereview.chromium.org/2827793005/diff/1/build/android/play_services/preprocess.py#newcode203 build/android/play_services/preprocess.py:203: gni_text += 'gms_proguard_configs = [\n' On 2017/04/18 23:59:12, jbudorick ...
3 years, 8 months ago (2017-04-19 17:30:13 UTC) #7
paulmiller
How's this? (patch set 2) I wasn't sure how to make pprint work, but if ...
3 years, 8 months ago (2017-04-19 18:16:46 UTC) #8
Maria
https://codereview.chromium.org/2827793005/diff/20001/build/android/play_services/preprocess.py File build/android/play_services/preprocess.py (right): https://codereview.chromium.org/2827793005/diff/20001/build/android/play_services/preprocess.py#newcode199 build/android/play_services/preprocess.py:199: # Copyright {year} The Chromium Authors. All rights reserved. ...
3 years, 8 months ago (2017-04-19 18:20:23 UTC) #9
paulmiller
https://codereview.chromium.org/2827793005/diff/20001/build/android/play_services/preprocess.py File build/android/play_services/preprocess.py (right): https://codereview.chromium.org/2827793005/diff/20001/build/android/play_services/preprocess.py#newcode199 build/android/play_services/preprocess.py:199: # Copyright {year} The Chromium Authors. All rights reserved. ...
3 years, 8 months ago (2017-04-19 18:34:27 UTC) #10
jbudorick
https://codereview.chromium.org/2827793005/diff/1/build/android/play_services/preprocess.py File build/android/play_services/preprocess.py (right): https://codereview.chromium.org/2827793005/diff/1/build/android/play_services/preprocess.py#newcode203 build/android/play_services/preprocess.py:203: gni_text += 'gms_proguard_configs = [\n' On 2017/04/19 17:30:13, paulmiller ...
3 years, 8 months ago (2017-04-19 18:42:26 UTC) #11
paulmiller
https://codereview.chromium.org/2827793005/diff/40001/build/android/play_services/preprocess.py File build/android/play_services/preprocess.py (right): https://codereview.chromium.org/2827793005/diff/40001/build/android/play_services/preprocess.py#newcode197 build/android/play_services/preprocess.py:197: gni_template = '''\ On 2017/04/19 18:42:26, jbudorick wrote: > ...
3 years, 8 months ago (2017-04-19 21:28:10 UTC) #12
jbudorick
https://codereview.chromium.org/2827793005/diff/40001/build/android/play_services/preprocess.py File build/android/play_services/preprocess.py (right): https://codereview.chromium.org/2827793005/diff/40001/build/android/play_services/preprocess.py#newcode197 build/android/play_services/preprocess.py:197: gni_template = '''\ On 2017/04/19 21:28:10, paulmiller wrote: > ...
3 years, 8 months ago (2017-04-19 21:29:46 UTC) #13
paulmiller
PTAL at #4
3 years, 8 months ago (2017-04-19 21:47:48 UTC) #15
jbudorick
lgtm
3 years, 8 months ago (2017-04-19 21:57:06 UTC) #16
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/2827793005/60001
3 years, 8 months ago (2017-04-19 22:38:04 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 23:49:04 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/3278d07f94c85839bac14d4f9495...

Powered by Google App Engine
This is Rietveld 408576698