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

Unified Diff: chrome/android/BUILD.gn

Issue 668343004: Make channel available in Java via ChromeVersionConstants.java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: brettw's comment Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/channel.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/BUILD.gn
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index 985e208263c1687bbaee75fd0b11cef19d0177e1..f28cb920f3413b9f8138ae688748c4d506600dbb 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -6,6 +6,7 @@ import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
import("//chrome/version.gni")
import("//third_party/icu/config.gni")
+import("channel.gni")
# GYP: //chrome/chrome.gyp:chrome_java (resources part)
android_resources("chrome_java_resources") {
@@ -467,6 +468,7 @@ chrome_version_java_file = "$chrome_version_java_dir/org/chromium/chrome/browser
process_version("chrome_version_java") {
source = "java/ChromeVersionConstants.java.version"
output = chrome_version_java_file
+ extra_args = ["-e", "CHANNEL=str.upper('$android_channel')"]
}
zip("chrome_version_srcjar") {
« no previous file with comments | « no previous file | chrome/android/channel.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698