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

Unified Diff: chrome/version.gni

Issue 1838173005: Propagate is_official_build to version script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « build/util/version.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/version.gni
diff --git a/chrome/version.gni b/chrome/version.gni
index 2b53246e3a11cba0b68d44f47ff89594c8a7df5e..a29cb8d372ec3c18f2976864b4df4dcc3b20c8eb 100644
--- a/chrome/version.gni
+++ b/chrome/version.gni
@@ -95,6 +95,10 @@ template("process_version") {
args = []
+ if (is_official_build) {
+ args += [ "--official" ]
+ }
+
if (defined(invoker.sources)) {
inputs += invoker.sources
foreach(i, invoker.sources) {
« no previous file with comments | « build/util/version.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698