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

Issue 2181053002: android: dcheck_always_on sets BuildConfig.IS_DCHECK (Closed)

Created:
4 years, 4 months ago by boliu
Modified:
4 years, 4 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

android: dcheck_always_on sets BuildConfig.DCHECK_IS_ON Better matches with native code. Native code turns on DCHECKs with dcheck_always_on. All usage of BuildConfig.IS_DEBUG is really guarding DCHECK equivalents in Java. So rename the variable DCHECK_IS_ON, and make it depend on dcheck_always_on as well. Committed: https://crrev.com/cd51f6c855c7bb95bfcffefc7827f6a941a498fe Cr-Commit-Position: refs/heads/master@{#408265}

Patch Set 1 #

Patch Set 2 : rename #

Patch Set 3 : fix findbugs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -20 lines) Patch
M base/BUILD.gn View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M base/android/java/src/org/chromium/base/BaseChromiumApplication.java View 1 6 chunks +6 lines, -6 lines 0 comments Download
M base/android/java/src/org/chromium/base/ThreadUtils.java View 1 1 chunk +1 line, -1 line 0 comments Download
M base/android/java/templates/BuildConfig.template View 1 1 chunk +4 lines, -4 lines 0 comments Download
M build/config/android/config.gni View 1 chunk +1 line, -2 lines 0 comments Download
M build/config/android/rules.gni View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeStrictMode.java View 1 2 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 38 (18 generated)
boliu
agree? I have no idea why there are two copies of the template rule, super ...
4 years, 4 months ago (2016-07-25 21:21:23 UTC) #2
jbudorick
I don't think this is the right thing to do, but I'm not sure what ...
4 years, 4 months ago (2016-07-25 21:23:24 UTC) #3
boliu
On 2016/07/25 21:23:24, jbudorick wrote: > I don't think this is the right thing to ...
4 years, 4 months ago (2016-07-25 21:25:14 UTC) #4
jbudorick
On 2016/07/25 21:25:14, boliu wrote: > On 2016/07/25 21:23:24, jbudorick wrote: > > I don't ...
4 years, 4 months ago (2016-07-25 21:27:02 UTC) #5
boliu
On 2016/07/25 21:27:02, jbudorick wrote: > On 2016/07/25 21:25:14, boliu wrote: > > On 2016/07/25 ...
4 years, 4 months ago (2016-07-25 21:29:53 UTC) #6
jbudorick
On 2016/07/25 21:29:53, boliu wrote: > On 2016/07/25 21:27:02, jbudorick wrote: > > On 2016/07/25 ...
4 years, 4 months ago (2016-07-25 21:31:36 UTC) #7
boliu
On 2016/07/25 21:31:36, jbudorick wrote: > On 2016/07/25 21:29:53, boliu wrote: > > On 2016/07/25 ...
4 years, 4 months ago (2016-07-25 21:42:02 UTC) #9
boliu
bot be green! +yfriedman for all the non-build things I touched
4 years, 4 months ago (2016-07-25 23:41:02 UTC) #11
jbudorick
lgtm, but please update the commit title.
4 years, 4 months ago (2016-07-25 23:42:05 UTC) #12
boliu
On 2016/07/25 23:42:05, jbudorick wrote: > lgtm, but please update the commit title. done
4 years, 4 months ago (2016-07-25 23:46:28 UTC) #14
agrieve
On 2016/07/25 23:46:28, boliu wrote: > On 2016/07/25 23:42:05, jbudorick wrote: > > lgtm, but ...
4 years, 4 months ago (2016-07-26 00:50:42 UTC) #15
boliu
+nyquist for review of base and chrome, since yaron is ooo
4 years, 4 months ago (2016-07-27 15:19:48 UTC) #17
nyquist
lgtm, but could you clarify the CL description a bit? This sentence is confusing: "Native ...
4 years, 4 months ago (2016-07-27 16:46:52 UTC) #18
boliu
On 2016/07/27 16:46:52, nyquist wrote: > lgtm, but could you clarify the CL description a ...
4 years, 4 months ago (2016-07-27 16:48:28 UTC) #20
boliu
+danakj for stamping base/BUILD.gn
4 years, 4 months ago (2016-07-27 17:03:00 UTC) #22
nyquist
On 2016/07/27 16:48:28, boliu wrote: > On 2016/07/27 16:46:52, nyquist wrote: > > lgtm, but ...
4 years, 4 months ago (2016-07-27 17:04:41 UTC) #23
danakj
BUILD LGTM
4 years, 4 months ago (2016-07-27 22:38:41 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/2181053002/40001
4 years, 4 months ago (2016-07-27 23:04:20 UTC) #34
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-27 23:10:19 UTC) #36
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 23:12:25 UTC) #38
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cd51f6c855c7bb95bfcffefc7827f6a941a498fe
Cr-Commit-Position: refs/heads/master@{#408265}

Powered by Google App Engine
This is Rietveld 408576698