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

Issue 2031033002: Adding option for Proguard jar to be switched. (Closed)

Created:
4 years, 6 months ago by smaier
Modified:
4 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding option for Proguard jar to be switched. Additionally, adds the is_java_debug gn arg, which can now be set separately from is_debug, which will control Java specific debug features, such as Proguard, multidexing, and incremental dexing. BUG=616831, 615082, 615083 Committed: https://crrev.com/6174a5f8b59fcfd3dbc7273faa27851cea6c9467 Cr-Commit-Position: refs/heads/master@{#399172}

Patch Set 1 #

Patch Set 2 : Gave gn arg is_java_debug a more clear description #

Patch Set 3 : Switching all proguard enabling to !is_java_debug #

Patch Set 4 : Changed sIsDebug to IS_DEBUG #

Patch Set 5 : Findbugs suppression #

Total comments: 8

Patch Set 6 : Fixed import for annotation #

Total comments: 5

Patch Set 7 : Addressing comments #

Patch Set 8 : Changing incremental dexing to use is_java_debug #

Patch Set 9 : Rebased on latest master #

Patch Set 10 : Fixed single newline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -18 lines) Patch
M android_webview/system_webview_apk_tmpl.gni View 1 2 1 chunk +1 line, -1 line 0 comments Download
M base/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M base/android/java/templates/BuildConfig.template View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M build/config/android/config.gni View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -1 line 0 comments Download
M build/config/android/internal_rules.gni View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -1 line 0 comments Download
M build/config/android/rules.gni View 1 2 3 4 5 6 7 8 9 7 chunks +15 lines, -6 lines 0 comments Download
M chrome/android/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/chrome_public_apk_tmpl.gni View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeStrictMode.java View 1 2 3 4 5 4 chunks +5 lines, -2 lines 0 comments Download
M components/cronet/android/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 47 (20 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2031033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2031033002/20001
4 years, 6 months ago (2016-06-03 13:26:42 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2031033002/60001
4 years, 6 months ago (2016-06-06 15:25:16 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/77259)
4 years, 6 months ago (2016-06-06 16:39:36 UTC) #6
Peter Wen
Looks nice. I'm assuming the rest of the change will be in the internal repo. ...
4 years, 6 months ago (2016-06-06 20:28:16 UTC) #9
smaier
https://codereview.chromium.org/2031033002/diff/80001/build/config/android/config.gni File build/config/android/config.gni (right): https://codereview.chromium.org/2031033002/diff/80001/build/config/android/config.gni#newcode94 build/config/android/config.gni:94: is_java_debug = is_debug On 2016/06/06 20:28:16, Peter Wen wrote: ...
4 years, 6 months ago (2016-06-06 21:04:58 UTC) #10
Peter Wen
@pkotwicz - Could you check my understanding of how setting the new gn arg "is_java_debug ...
4 years, 6 months ago (2016-06-06 21:45:23 UTC) #12
pkotwicz
On 2016/06/06 21:45:23, Peter Wen wrote: > @pkotwicz - Could you check my understanding of ...
4 years, 6 months ago (2016-06-06 22:01:08 UTC) #13
pkotwicz
I tried it and setting is_debug = false also sets is_java_debug to false. It makes ...
4 years, 6 months ago (2016-06-06 22:02:42 UTC) #14
smaier
https://codereview.chromium.org/2031033002/diff/80001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/2031033002/diff/80001/base/BUILD.gn#newcode2377 base/BUILD.gn:2377: if (is_java_debug) { On 2016/06/06 21:45:23, Peter Wen wrote: ...
4 years, 6 months ago (2016-06-07 18:20:45 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2031033002/100001
4 years, 6 months ago (2016-06-07 18:21:22 UTC) #18
Peter Wen
Code lgtm so feel free to add OWNERS. I think that is_java_debug is better named ...
4 years, 6 months ago (2016-06-07 18:45:19 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-07 19:33:09 UTC) #21
agrieve
lgtm https://codereview.chromium.org/2031033002/diff/100001/build/config/android/config.gni File build/config/android/config.gni (right): https://codereview.chromium.org/2031033002/diff/100001/build/config/android/config.gni#newcode92 build/config/android/config.gni:92: # Java debug on Android. Having this on ...
4 years, 6 months ago (2016-06-08 18:47:32 UTC) #22
agrieve
mef@chromium.org: Please review changes in cronet/ thakis@chromium.org: Please review changes in base/, chrome/ torne@chromium.org: Please ...
4 years, 6 months ago (2016-06-08 18:49:17 UTC) #24
Nico
https://codereview.chromium.org/2031033002/diff/100001/base/android/java/templates/BuildConfig.template File base/android/java/templates/BuildConfig.template (right): https://codereview.chromium.org/2031033002/diff/100001/base/android/java/templates/BuildConfig.template#newcode26 base/android/java/templates/BuildConfig.template:26: #if defined(DEBUG) why not use NDEBUG? negated constants suck, ...
4 years, 6 months ago (2016-06-08 18:56:53 UTC) #25
smaier
https://codereview.chromium.org/2031033002/diff/100001/base/android/java/templates/BuildConfig.template File base/android/java/templates/BuildConfig.template (right): https://codereview.chromium.org/2031033002/diff/100001/base/android/java/templates/BuildConfig.template#newcode26 base/android/java/templates/BuildConfig.template:26: #if defined(DEBUG) On 2016/06/08 18:56:53, Nico wrote: > why ...
4 years, 6 months ago (2016-06-08 21:43:37 UTC) #26
Torne
android_webview LGTM
4 years, 6 months ago (2016-06-09 12:55:02 UTC) #27
Nico
base, chrome lgtm
4 years, 6 months ago (2016-06-09 14:36:22 UTC) #28
mef
components/cronet lgtm Could you mention switch from is_debug to is_java_debug in CL description?
4 years, 6 months ago (2016-06-09 19:12:19 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2031033002/140001
4 years, 6 months ago (2016-06-09 19:46:18 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/85286) linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 6 months ago (2016-06-09 19:49:33 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2031033002/180001
4 years, 6 months ago (2016-06-09 22:51:03 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) mac_chromium_gn_rel on ...
4 years, 6 months ago (2016-06-10 00:53:06 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2031033002/180001
4 years, 6 months ago (2016-06-10 13:04:01 UTC) #42
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 6 months ago (2016-06-10 13:33:15 UTC) #44
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-10 13:33:20 UTC) #45
commit-bot: I haz the power
4 years, 6 months ago (2016-06-10 13:34:47 UTC) #47
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/6174a5f8b59fcfd3dbc7273faa27851cea6c9467
Cr-Commit-Position: refs/heads/master@{#399172}

Powered by Google App Engine
This is Rietveld 408576698