summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_android.gypi
diff options
context:
space:
mode:
authornewt <newt@chromium.org>2014-10-29 15:24:22 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-29 22:24:33 +0000
commitb5753f5c3bcbd9871f81537c258c2ac699affef8 (patch)
treeb9fec59ed886636282254b7a377d26e990cab0e4 /chrome/chrome_android.gypi
parentf264dce3bcaf59187834def5bc2ceee055429953 (diff)
downloadchromium_src-b5753f5c3bcbd9871f81537c258c2ac699affef8.zip
chromium_src-b5753f5c3bcbd9871f81537c258c2ac699affef8.tar.gz
chromium_src-b5753f5c3bcbd9871f81537c258c2ac699affef8.tar.bz2
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. Review URL: https://codereview.chromium.org/668343004 Cr-Commit-Position: refs/heads/master@{#301952}
Diffstat (limited to 'chrome/chrome_android.gypi')
-rw-r--r--chrome/chrome_android.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome_android.gypi b/chrome/chrome_android.gypi
index 125ae1a..071a5da 100644
--- a/chrome/chrome_android.gypi
+++ b/chrome/chrome_android.gypi
@@ -100,6 +100,7 @@
'<(version_py_path)',
'-f', '<(version_path)',
'-f', '<(branding_path)',
+ '-e', 'CHANNEL=str.upper("<(android_channel)")',
'<(template_input_path)',
'<(output_path)',
],