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 'chromium_code': 1, | 9 'chromium_code': 1, |
10 'chromecast_branding%': 'Chromium', | 10 'chromecast_branding%': 'Chromium', |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
253 '<(version_path)', | 253 '<(version_path)', |
254 'common/version.h.in', | 254 'common/version.h.in', |
255 ], | 255 ], |
256 'outputs': [ | 256 'outputs': [ |
257 '<(SHARED_INTERMEDIATE_DIR)/chromecast/common/version.h', | 257 '<(SHARED_INTERMEDIATE_DIR)/chromecast/common/version.h', |
258 ], | 258 ], |
259 'action': [ | 259 'action': [ |
260 'python', | 260 'python', |
261 '<(version_py_path)', | 261 '<(version_py_path)', |
262 '-e', 'VERSION_FULL="<(version_full)"', | 262 '-e', 'VERSION_FULL="<(version_full)"', |
263 # Revision is taken from buildbot if available; otherwise, a dev str ing is used. | 263 # Cast build numbers are taken from buildbot if available; |
264 '-e', 'CAST_BUILD_REVISION="<!(echo ${CAST_BUILD_REVISION:="eng.${US ER}.<!(date +%Y%m%d.%H%M%S)"})"', | 264 # otherwise, dev strings are used. |
265 '-e', 'CAST_BUILD_INCREMENTAL="<!(echo ${CAST_BUILD_INCREMENTAL:="<! (date +%Y%m%d.%H%M%S)"})"', | |
266 '-e', 'CAST_BUILD_RELEASE="<!(echo ${CAST_BUILD_RELEASE:="eng.${USER }"})"', | |
gunsch
2015/01/22 17:42:05
where does CAST_BUILD_RELEASE come from? I don't s
byungchul
2015/01/22 17:47:54
This will be set by chromecast.mk based on PLATFOR
gunsch
2015/01/22 19:46:20
Discussed offline about the issues with this appro
byungchul
2015/01/22 19:46:33
Changed to read from cast_build_release file which
| |
265 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" e lse 0', | 267 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" e lse 0', |
266 'common/version.h.in', | 268 'common/version.h.in', |
267 '<@(_outputs)', | 269 '<@(_outputs)', |
268 ], | 270 ], |
269 'includes': [ | 271 'includes': [ |
270 '../build/util/version.gypi', | 272 '../build/util/version.gypi', |
271 ], | 273 ], |
272 }, | 274 }, |
273 ], | 275 ], |
274 }, | 276 }, |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
513 'cast_shell_core', | 515 'cast_shell_core', |
514 ], | 516 ], |
515 'sources': [ | 517 'sources': [ |
516 'app/cast_main.cc', | 518 'app/cast_main.cc', |
517 ], | 519 ], |
518 }, | 520 }, |
519 ], # end of targets | 521 ], # end of targets |
520 }], | 522 }], |
521 ], # end of conditions | 523 ], # end of conditions |
522 } | 524 } |
OLD | NEW |