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)', |
], |