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

Unified Diff: chrome/android/java/ChromeVersionConstants.java.version

Issue 623403002: Generate ChromeVersionConstants.java at build time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/java/ChromeVersionConstants.java.version
diff --git a/chrome/android/java/ChromeVersionConstants.java.version b/chrome/android/java/ChromeVersionConstants.java.version
new file mode 100644
index 0000000000000000000000000000000000000000..d5e86609acc85b51f3fdebe33e05fed620f56a66
--- /dev/null
+++ b/chrome/android/java/ChromeVersionConstants.java.version
@@ -0,0 +1,11 @@
+// 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.
+
+package org.chromium.chrome.browser;
+
+public class ChromeVersionConstants {
+ public static final String PRODUCT_NAME = "@PRODUCT_FULLNAME@";
Yaron 2014/10/06 15:45:38 Hmm. I think these two would allow us to clean up
newt (away) 2014/10/06 16:39:13 Yes, possibly so :)
+ public static final String PRODUCT_VERSION = "@MAJOR@.@MINOR@.@BUILD@.@PATCH@";
+ public static final boolean IS_OFFICIAL_BUILD = @OFFICIAL_BUILD@ == 1;
+}

Powered by Google App Engine
This is Rietveld 408576698