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

Unified Diff: chromecast/chromecast.gyp

Issue 604933002: Chromecast: adds Chromecast build # to User-Agent string. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | chromecast/common/version.h.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/chromecast.gyp
diff --git a/chromecast/chromecast.gyp b/chromecast/chromecast.gyp
index 79cb8338571f38d5799756d740385c0472c32faa..9ba706aa616108048729e65d0a6caddd0ed2f482 100644
--- a/chromecast/chromecast.gyp
+++ b/chromecast/chromecast.gyp
@@ -279,6 +279,9 @@
'python',
'<(version_py_path)',
'-e', 'VERSION_FULL="<(version_full)"',
+ # Revision is taken from buildbot if available; otherwise, a dev string is used.
+ '-e', 'CAST_BUILD_REVISION="<!(echo ${BUILD_NUMBER:="local.${USER}"})"',
+ '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" else 0',
'common/version.h.in',
'<@(_outputs)',
],
« no previous file with comments | « no previous file | chromecast/common/version.h.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698