summaryrefslogtreecommitdiffstats
path: root/chromecast/chromecast.gyp
diff options
context:
space:
mode:
authorgunsch <gunsch@chromium.org>2014-09-25 12:26:29 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-25 19:26:55 +0000
commitd3644ba2bed10e782782724992c7897732b277c9 (patch)
treed74097c571ff622d580fb8ab882d2c69632576f9 /chromecast/chromecast.gyp
parent9e65b890f4e1a5919ea537418634672212373fee (diff)
downloadchromium_src-d3644ba2bed10e782782724992c7897732b277c9.zip
chromium_src-d3644ba2bed10e782782724992c7897732b277c9.tar.gz
chromium_src-d3644ba2bed10e782782724992c7897732b277c9.tar.bz2
Chromecast: adds Chromecast build # to User-Agent string.
R=lcwu@chromium.org BUG=None Review URL: https://codereview.chromium.org/604933002 Cr-Commit-Position: refs/heads/master@{#296762}
Diffstat (limited to 'chromecast/chromecast.gyp')
-rw-r--r--chromecast/chromecast.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromecast/chromecast.gyp b/chromecast/chromecast.gyp
index 79cb833..9ba706a 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)',
],