diff options
author | gunsch <gunsch@chromium.org> | 2014-09-25 12:26:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-25 19:26:55 +0000 |
commit | d3644ba2bed10e782782724992c7897732b277c9 (patch) | |
tree | d74097c571ff622d580fb8ab882d2c69632576f9 /chromecast/chromecast.gyp | |
parent | 9e65b890f4e1a5919ea537418634672212373fee (diff) | |
download | chromium_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.gyp | 3 |
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)', ], |