Chromium Code Reviews| Index: chromecast/chromecast.gyp |
| diff --git a/chromecast/chromecast.gyp b/chromecast/chromecast.gyp |
| index c9335f0093c20bf3130278d0200fc6b7c3b74f61..6977bbe871ff1bf25b7c62e061b8dc0337e28d13 100644 |
| --- a/chromecast/chromecast.gyp |
| +++ b/chromecast/chromecast.gyp |
| @@ -6,6 +6,7 @@ |
| 'variables': { |
| 'android_support_v13_target%': |
| '../third_party/android_tools/android_tools.gyp:android_support_v13_javalib', |
| + 'cast_build_release': 'internal/build/cast_build_release', |
| 'chromium_code': 1, |
| 'chromecast_branding%': 'Chromium', |
| 'disable_display%': 0, |
| @@ -260,8 +261,10 @@ |
| '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 ${CAST_BUILD_REVISION:="eng.${USER}.<!(date +%Y%m%d.%H%M%S)"})"', |
| + # CAST_BUILD_INCREMENTAL is taken from buildbot if available; |
| + # otherwise, a dev string is used. |
| + '-e', 'CAST_BUILD_INCREMENTAL="<!(echo ${CAST_BUILD_INCREMENTAL:="<!(date +%Y%m%d.%H%M%S)"})"', |
| + '-e', 'CAST_BUILD_RELEASE="<!(cat <(cast_build_release))"', |
|
gunsch
2015/01/23 16:50:33
How does this fallback if "internal" directory is
byungchul
2015/01/23 17:12:52
Good catch. Done.
|
| '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" else 0', |
| 'common/version.h.in', |
| '<@(_outputs)', |