OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'android_support_v13_target%': | 7 'android_support_v13_target%': |
8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java lib', | 8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java lib', |
9 'cast_build_release': 'internal/build/cast_build_release', | |
9 'chromium_code': 1, | 10 'chromium_code': 1, |
10 'chromecast_branding%': 'Chromium', | 11 'chromecast_branding%': 'Chromium', |
11 'disable_display%': 0, | 12 'disable_display%': 0, |
12 }, | 13 }, |
13 'includes': [ | 14 'includes': [ |
14 'chromecast_tests.gypi', | 15 'chromecast_tests.gypi', |
15 ], | 16 ], |
16 'target_defaults': { | 17 'target_defaults': { |
17 'include_dirs': [ | 18 'include_dirs': [ |
18 '..', # Root of Chromium checkout | 19 '..', # Root of Chromium checkout |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
253 '<(version_path)', | 254 '<(version_path)', |
254 'common/version.h.in', | 255 'common/version.h.in', |
255 ], | 256 ], |
256 'outputs': [ | 257 'outputs': [ |
257 '<(SHARED_INTERMEDIATE_DIR)/chromecast/common/version.h', | 258 '<(SHARED_INTERMEDIATE_DIR)/chromecast/common/version.h', |
258 ], | 259 ], |
259 'action': [ | 260 'action': [ |
260 'python', | 261 'python', |
261 '<(version_py_path)', | 262 '<(version_py_path)', |
262 '-e', 'VERSION_FULL="<(version_full)"', | 263 '-e', 'VERSION_FULL="<(version_full)"', |
263 # Revision is taken from buildbot if available; otherwise, a dev str ing is used. | 264 # CAST_BUILD_INCREMENTAL is taken from buildbot if available; |
264 '-e', 'CAST_BUILD_REVISION="<!(echo ${CAST_BUILD_REVISION:="eng.${US ER}.<!(date +%Y%m%d.%H%M%S)"})"', | 265 # otherwise, a dev string is used. |
266 '-e', 'CAST_BUILD_INCREMENTAL="<!(echo ${CAST_BUILD_INCREMENTAL:="<! (date +%Y%m%d.%H%M%S)"})"', | |
267 '-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.
| |
265 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" e lse 0', | 268 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" e lse 0', |
266 'common/version.h.in', | 269 'common/version.h.in', |
267 '<@(_outputs)', | 270 '<@(_outputs)', |
268 ], | 271 ], |
269 'includes': [ | 272 'includes': [ |
270 '../build/util/version.gypi', | 273 '../build/util/version.gypi', |
271 ], | 274 ], |
272 }, | 275 }, |
273 ], | 276 ], |
274 }, | 277 }, |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
513 'cast_shell_core', | 516 'cast_shell_core', |
514 ], | 517 ], |
515 'sources': [ | 518 'sources': [ |
516 'app/cast_main.cc', | 519 'app/cast_main.cc', |
517 ], | 520 ], |
518 }, | 521 }, |
519 ], # end of targets | 522 ], # end of targets |
520 }], | 523 }], |
521 ], # end of conditions | 524 ], # end of conditions |
522 } | 525 } |
OLD | NEW |