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

Unified Diff: chrome/android/channel.gni

Issue 668343004: Make channel available in Java via ChromeVersionConstants.java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chris's comments 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
Index: chrome/android/channel.gni
diff --git a/chrome/android/channel.gni b/chrome/android/channel.gni
new file mode 100644
index 0000000000000000000000000000000000000000..504859cc39dea8e7d0b4539c5b33317a99e0ab5a
--- /dev/null
+++ b/chrome/android/channel.gni
@@ -0,0 +1,16 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+declare_args() {
+ # The channel to build on Android: stable, beta, dev, canary, or default.
+ # "default" should be used on non-official builds.
+ android_channel = "default"
+}
+
+assert(android_channel == "default" ||
+ android_channel == "canary" ||
+ android_channel == "dev" ||
+ android_channel == "beta" ||
+ android_channel == "stable",
+ "Invalid channel: " + android_channel)

Powered by Google App Engine
This is Rietveld 408576698