Chromium Code Reviews| 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 # CAST_BUILD_RELEASE is taken from cast_build_release file if exist; | |
| 268 # otherwize, a dev string is used. | |
|
gunsch
2015/01/23 17:33:30
nit: otherwize --> otherwise
byungchul
2015/01/23 17:51:27
Done.
| |
| 269 '-e', 'CAST_BUILD_RELEASE="<!(if [[ -f <(cast_build_release) ]]; the n cat <(cast_build_release); else echo eng.${USER}; fi)"', | |
|
gunsch
2015/01/23 17:33:30
Do we know for sure that gyp uses bash shells to r
byungchul
2015/01/23 17:51:27
Done.
| |
| 265 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" e lse 0', | 270 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" e lse 0', |
| 266 'common/version.h.in', | 271 'common/version.h.in', |
| 267 '<@(_outputs)', | 272 '<@(_outputs)', |
| 268 ], | 273 ], |
| 269 'includes': [ | 274 'includes': [ |
| 270 '../build/util/version.gypi', | 275 '../build/util/version.gypi', |
| 271 ], | 276 ], |
| 272 }, | 277 }, |
| 273 ], | 278 ], |
| 274 }, | 279 }, |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 513 'cast_shell_core', | 518 'cast_shell_core', |
| 514 ], | 519 ], |
| 515 'sources': [ | 520 'sources': [ |
| 516 'app/cast_main.cc', | 521 'app/cast_main.cc', |
| 517 ], | 522 ], |
| 518 }, | 523 }, |
| 519 ], # end of targets | 524 ], # end of targets |
| 520 }], | 525 }], |
| 521 ], # end of conditions | 526 ], # end of conditions |
| 522 } | 527 } |
| OLD | NEW |