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

Issue 668343004: Make channel available in Java via ChromeVersionConstants.java. (Closed)

Created:
6 years, 2 months ago by newt (away)
Modified:
6 years, 1 month ago
Reviewers:
cjhopman, Yaron, brettw
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make channel available in Java via ChromeVersionConstants.java. Channel information is now available statically at build time. There's no need to call ChromeVersionInfo.init() anymore. Committed: https://crrev.com/b5753f5c3bcbd9871f81537c258c2ac699affef8 Cr-Commit-Position: refs/heads/master@{#301952}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix GN build #

Total comments: 7

Patch Set 3 : Chris's comments #

Total comments: 2

Patch Set 4 : brettw's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -80 lines) Patch
M chrome/android/BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/android/channel.gni View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/android/java/ChromeVersionConstants.java.version View 1 chunk +11 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeVersionInfo.java View 2 chunks +7 lines, -68 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/chrome_android.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/version.gni View 1 2 3 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (7 generated)
newt (away)
PTAL
6 years, 2 months ago (2014-10-23 17:41:44 UTC) #2
cjhopman
lgtm https://codereview.chromium.org/668343004/diff/1/chrome/chrome_android.gypi File chrome/chrome_android.gypi (right): https://codereview.chromium.org/668343004/diff/1/chrome/chrome_android.gypi#newcode103 chrome/chrome_android.gypi:103: '-e', 'CHANNEL=str.upper("<(android_channel)")', The str.upper is processed by jinja? ...
6 years, 2 months ago (2014-10-23 18:46:41 UTC) #3
newt (away)
On 2014/10/23 18:46:41, cjhopman wrote: > lgtm > > https://codereview.chromium.org/668343004/diff/1/chrome/chrome_android.gypi > File chrome/chrome_android.gypi (right): > ...
6 years, 2 months ago (2014-10-23 19:05:05 UTC) #4
newt (away)
yfriedman for OWNERS approval
6 years, 2 months ago (2014-10-23 19:05:53 UTC) #6
cjhopman
https://codereview.chromium.org/668343004/diff/1/chrome/chrome_android.gypi File chrome/chrome_android.gypi (right): https://codereview.chromium.org/668343004/diff/1/chrome/chrome_android.gypi#newcode103 chrome/chrome_android.gypi:103: '-e', 'CHANNEL=str.upper("<(android_channel)")', On 2014/10/23 18:46:41, cjhopman wrote: > The ...
6 years, 2 months ago (2014-10-23 20:46:36 UTC) #7
newt (away)
+the right yfriedman for OWNERS
6 years, 2 months ago (2014-10-23 20:55:00 UTC) #9
newt (away)
brettw: chrome/version.gni
6 years, 2 months ago (2014-10-23 21:31:17 UTC) #11
cjhopman
https://codereview.chromium.org/668343004/diff/20001/chrome/android/channel.gni File chrome/android/channel.gni (right): https://codereview.chromium.org/668343004/diff/20001/chrome/android/channel.gni#newcode9 chrome/android/channel.gni:9: } Could assert that the androdi_channel is one of ...
6 years, 2 months ago (2014-10-23 21:42:05 UTC) #12
Yaron
lgtm
6 years, 2 months ago (2014-10-23 21:58:00 UTC) #13
newt (away)
https://codereview.chromium.org/668343004/diff/20001/chrome/version.gni File chrome/version.gni (right): https://codereview.chromium.org/668343004/diff/20001/chrome/version.gni#newcode43 chrome/version.gni:43: extra_args = [] On 2014/10/23 21:42:05, cjhopman wrote: > ...
6 years, 2 months ago (2014-10-23 22:02:28 UTC) #16
cjhopman
https://codereview.chromium.org/668343004/diff/20001/chrome/version.gni File chrome/version.gni (right): https://codereview.chromium.org/668343004/diff/20001/chrome/version.gni#newcode43 chrome/version.gni:43: extra_args = [] On 2014/10/23 22:02:28, newt wrote: > ...
6 years, 2 months ago (2014-10-23 22:05:48 UTC) #17
newt (away)
https://codereview.chromium.org/668343004/diff/20001/chrome/android/channel.gni File chrome/android/channel.gni (right): https://codereview.chromium.org/668343004/diff/20001/chrome/android/channel.gni#newcode9 chrome/android/channel.gni:9: } On 2014/10/23 21:42:05, cjhopman wrote: > Could assert ...
6 years, 2 months ago (2014-10-23 22:25:24 UTC) #18
newt (away)
brettw: ping for chrome/version.gni
6 years, 1 month ago (2014-10-27 17:37:46 UTC) #19
newt (away)
brettw: PTAL at chrome/version.gni
6 years, 1 month ago (2014-10-29 03:27:51 UTC) #20
brettw
lgtm https://codereview.chromium.org/668343004/diff/40001/chrome/version.gni File chrome/version.gni (right): https://codereview.chromium.org/668343004/diff/40001/chrome/version.gni#newcode67 chrome/version.gni:67: ] + extra_args I'd just move the if ...
6 years, 1 month ago (2014-10-29 20:46:36 UTC) #21
newt (away)
https://codereview.chromium.org/668343004/diff/40001/chrome/version.gni File chrome/version.gni (right): https://codereview.chromium.org/668343004/diff/40001/chrome/version.gni#newcode67 chrome/version.gni:67: ] + extra_args On 2014/10/29 20:46:36, brettw wrote: > ...
6 years, 1 month ago (2014-10-29 21:04:19 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/668343004/60001
6 years, 1 month ago (2014-10-29 21:06:43 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-10-29 22:24:34 UTC) #25
commit-bot: I haz the power
6 years, 1 month ago (2014-10-29 22:25:16 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b5753f5c3bcbd9871f81537c258c2ac699affef8
Cr-Commit-Position: refs/heads/master@{#301952}

Powered by Google App Engine
This is Rietveld 408576698