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

Issue 1103013002: Refactor proguard scripts (Closed)

Created:
5 years, 8 months ago by cjhopman
Modified:
5 years, 7 months ago
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor proguard scripts Currently, we use proguard from two places: proguard.py and apk_obfuscate.py. These are used to preprocess libraries and to process full apks, respectively. This extracts construction/running/filtering output of the actual proguard command to a simple builder class that is then used in both places. This makes some parts of how proguard is run to be more consistent between the two. proguard.py now supports running proguard in the way needed for apks. (GN will be using proguard.py instead of apk_obfuscate.py) BUG=359249, 478319 Committed: https://crrev.com/e852f8d50a4c65f0de6fcc3753abdc8ba3b22a9e Cr-Commit-Position: refs/heads/master@{#328439}

Patch Set 1 #

Total comments: 16

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -100 lines) Patch
M build/android/gyp/apk_obfuscate.py View 1 2 chunks +43 lines, -53 lines 0 comments Download
M build/android/gyp/proguard.py View 1 2 chunks +28 lines, -46 lines 0 comments Download
A build/android/gyp/util/proguard_util.py View 1 1 chunk +128 lines, -0 lines 0 comments Download
M build/java_apk.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/TELEMETRY_DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 38 (14 generated)
cjhopman
newt: *
5 years, 8 months ago (2015-04-27 18:46:07 UTC) #2
newt (away)
Please expand the commit message a bit. What's the motivation for this change? Clean-up, consistency, ...
5 years, 8 months ago (2015-04-28 04:22:15 UTC) #3
cjhopman
I've expanded the description a bit. https://codereview.chromium.org/1103013002/diff/1/build/android/gyp/apk_obfuscate.py File build/android/gyp/apk_obfuscate.py (right): https://codereview.chromium.org/1103013002/diff/1/build/android/gyp/apk_obfuscate.py#newcode89 build/android/gyp/apk_obfuscate.py:89: options.tested_apk_obfuscated_jar_path != '/'): ...
5 years, 7 months ago (2015-05-02 00:41:45 UTC) #5
newt (away)
lgtm, thanks for the expanded explanation
5 years, 7 months ago (2015-05-04 16:29:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1103013002/40001
5 years, 7 months ago (2015-05-04 18:14:42 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/60831)
5 years, 7 months ago (2015-05-04 20:05:51 UTC) #10
cjhopman
dtu: for TELEMETRY_DEPS changes
5 years, 7 months ago (2015-05-04 20:35:25 UTC) #12
cjhopman
https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS File tools/telemetry/telemetry/TELEMETRY_DEPS (right): https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS#newcode21 tools/telemetry/telemetry/TELEMETRY_DEPS:21: "build/android/AndroidManifest.xml", Really, I think we should just whitelist build/android ...
5 years, 7 months ago (2015-05-04 20:38:06 UTC) #13
aiolos (Not reviewing)
https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS File tools/telemetry/telemetry/TELEMETRY_DEPS (right): https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS#newcode21 tools/telemetry/telemetry/TELEMETRY_DEPS:21: "build/android/AndroidManifest.xml", On 2015/05/04 20:38:05, cjhopman wrote: > Really, I ...
5 years, 7 months ago (2015-05-04 20:59:58 UTC) #15
cjhopman
https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS File tools/telemetry/telemetry/TELEMETRY_DEPS (right): https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS#newcode21 tools/telemetry/telemetry/TELEMETRY_DEPS:21: "build/android/AndroidManifest.xml", On 2015/05/04 20:59:58, aiolos wrote: > On 2015/05/04 ...
5 years, 7 months ago (2015-05-04 21:14:31 UTC) #16
aiolos (Not reviewing)
https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS File tools/telemetry/telemetry/TELEMETRY_DEPS (right): https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS#newcode21 tools/telemetry/telemetry/TELEMETRY_DEPS:21: "build/android/AndroidManifest.xml", On 2015/05/04 21:14:31, cjhopman wrote: > On 2015/05/04 ...
5 years, 7 months ago (2015-05-04 21:15:23 UTC) #17
cjhopman
On 2015/05/04 21:15:23, aiolos wrote: > https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS > File tools/telemetry/telemetry/TELEMETRY_DEPS (right): > > https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS#newcode21 > ...
5 years, 7 months ago (2015-05-04 21:19:09 UTC) #18
cjhopman
https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS File tools/telemetry/telemetry/TELEMETRY_DEPS (right): https://codereview.chromium.org/1103013002/diff/60001/tools/telemetry/telemetry/TELEMETRY_DEPS#newcode21 tools/telemetry/telemetry/TELEMETRY_DEPS:21: "build/android/AndroidManifest.xml", On 2015/05/04 21:15:23, aiolos wrote: > On 2015/05/04 ...
5 years, 7 months ago (2015-05-04 21:21:38 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1103013002/80001
5 years, 7 months ago (2015-05-04 21:22:25 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/19065)
5 years, 7 months ago (2015-05-04 22:55:03 UTC) #24
aiolos (Not reviewing)
On 2015/05/04 22:55:03, I haz the power (commit-bot) wrote: > Dry run: Try jobs failed ...
5 years, 7 months ago (2015-05-05 01:02:52 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1103013002/80001
5 years, 7 months ago (2015-05-05 02:14:10 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/61046)
5 years, 7 months ago (2015-05-05 02:22:28 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1103013002/80001
5 years, 7 months ago (2015-05-05 02:28:03 UTC) #31
cjhopman
dtu: still need OWNERS for tools/telemetry
5 years, 7 months ago (2015-05-05 02:28:36 UTC) #33
dtu
lgtm !
5 years, 7 months ago (2015-05-05 21:00:53 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1103013002/80001
5 years, 7 months ago (2015-05-05 21:07:13 UTC) #36
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 7 months ago (2015-05-05 23:47:26 UTC) #37
commit-bot: I haz the power
5 years, 7 months ago (2015-05-05 23:49:19 UTC) #38
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e852f8d50a4c65f0de6fcc3753abdc8ba3b22a9e
Cr-Commit-Position: refs/heads/master@{#328439}

Powered by Google App Engine
This is Rietveld 408576698