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

Issue 2214013002: [Cronet] add base proguard flags (Closed)

Created:
4 years, 4 months ago by xunjieli
Modified:
4 years, 3 months ago
Reviewers:
pauljensen, mef, smaier
CC:
cbentzel+watch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Cronet] add base proguard flags This CL pulls in base's proguard flags when compiling cronet_sample_apk and cronet_package. Cronet will not need to duplicate proguard flags and can benefit from base proguard file changes. This saves about 1882 - 1471 = 411 methods from our dex count for CronetSample.apk and 10kB(4.35%). BUG=634998 Committed: https://crrev.com/eff981189bb608fb2125f3b514ab8a5634bc2c0a Cr-Commit-Position: refs/heads/master@{#417060}

Patch Set 1 #

Patch Set 2 : remove todo #

Patch Set 3 : fix tests #

Patch Set 4 : self review #

Total comments: 6

Patch Set 5 : address comments #

Patch Set 6 : Rebased #

Total comments: 6

Patch Set 7 : Synced to 0855f910f2561da7beb87578f4af99faa6db75ec #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -35 lines) Patch
M components/cronet/android/BUILD.gn View 1 2 3 4 5 6 5 chunks +17 lines, -1 line 0 comments Download
M components/cronet/android/proguard.cfg View 1 2 3 4 1 chunk +0 lines, -29 lines 0 comments Download
M components/cronet/android/sample/javatests/proguard.cfg View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
A components/cronet/tools/generate_proguard_file.py View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (25 generated)
xunjieli
4 years, 4 months ago (2016-08-05 19:12:00 UTC) #7
mef
This is very cool! It would be interesting to try to use generated proguard file ...
4 years, 4 months ago (2016-08-10 01:25:35 UTC) #8
xunjieli
On 2016/08/10 01:25:35, mef wrote: > This is very cool! It would be interesting to ...
4 years, 4 months ago (2016-08-11 14:54:07 UTC) #9
smaier
This is a great change! It's always nice to see ProGuard cleanup. https://codereview.chromium.org/2214013002/diff/80001/components/cronet/android/BUILD.gn File components/cronet/android/BUILD.gn ...
4 years, 4 months ago (2016-08-11 16:08:29 UTC) #11
xunjieli
Thanks! PTAL. https://codereview.chromium.org/2214013002/diff/80001/components/cronet/android/BUILD.gn File components/cronet/android/BUILD.gn (right): https://codereview.chromium.org/2214013002/diff/80001/components/cronet/android/BUILD.gn#newcode395 components/cronet/android/BUILD.gn:395: "//testing/android/proguard_for_test.flags", On 2016/08/11 16:08:28, smaier wrote: > ...
4 years, 4 months ago (2016-08-11 21:05:53 UTC) #12
smaier
On 2016/08/11 21:05:53, xunjieli wrote: > Thanks! PTAL. > > https://codereview.chromium.org/2214013002/diff/80001/components/cronet/android/BUILD.gn > File components/cronet/android/BUILD.gn (right): ...
4 years, 4 months ago (2016-08-12 13:44:17 UTC) #13
mef
lgtm, thanks for doing this!
4 years, 4 months ago (2016-08-12 15:49:33 UTC) #14
pauljensen
https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py File components/cronet/tools/generate_proguard_file.py (right): https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py#newcode18 components/cronet/tools/generate_proguard_file.py:18: target.write(line) Any reason we don't use "cat" instead of ...
4 years, 4 months ago (2016-08-17 11:04:46 UTC) #22
xunjieli
https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py File components/cronet/tools/generate_proguard_file.py (right): https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py#newcode18 components/cronet/tools/generate_proguard_file.py:18: target.write(line) On 2016/08/17 11:04:46, pauljensen wrote: > Any reason ...
4 years, 4 months ago (2016-08-17 12:50:31 UTC) #23
pauljensen
https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py File components/cronet/tools/generate_proguard_file.py (right): https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py#newcode18 components/cronet/tools/generate_proguard_file.py:18: target.write(line) On 2016/08/17 12:50:31, xunjieli wrote: > On 2016/08/17 ...
4 years, 4 months ago (2016-08-17 13:04:08 UTC) #25
xunjieli
https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py File components/cronet/tools/generate_proguard_file.py (right): https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py#newcode18 components/cronet/tools/generate_proguard_file.py:18: target.write(line) On 2016/08/17 13:04:07, pauljensen wrote: > On 2016/08/17 ...
4 years, 4 months ago (2016-08-17 17:11:44 UTC) #26
pauljensen
https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py File components/cronet/tools/generate_proguard_file.py (right): https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py#newcode18 components/cronet/tools/generate_proguard_file.py:18: target.write(line) On 2016/08/17 17:11:44, xunjieli wrote: > On 2016/08/17 ...
4 years, 4 months ago (2016-08-18 15:46:09 UTC) #27
xunjieli
https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py File components/cronet/tools/generate_proguard_file.py (right): https://codereview.chromium.org/2214013002/diff/120001/components/cronet/tools/generate_proguard_file.py#newcode18 components/cronet/tools/generate_proguard_file.py:18: target.write(line) On 2016/08/18 15:46:09, pauljensen wrote: > On 2016/08/17 ...
4 years, 3 months ago (2016-09-07 15:33:24 UTC) #30
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/2214013002/140001
4 years, 3 months ago (2016-09-07 15:33:39 UTC) #31
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/2214013002/140001
4 years, 3 months ago (2016-09-07 20:44:24 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 3 months ago (2016-09-07 21:51:36 UTC) #40
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 21:55:09 UTC) #42
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/eff981189bb608fb2125f3b514ab8a5634bc2c0a
Cr-Commit-Position: refs/heads/master@{#417060}

Powered by Google App Engine
This is Rietveld 408576698