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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'chromecast_branding%': 'Chromium', | 8 'chromecast_branding%': 'Chromium', |
9 }, | 9 }, |
10 'target_defaults': { | 10 'target_defaults': { |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 '<(version_path)', | 272 '<(version_path)', |
273 'common/version.h.in', | 273 'common/version.h.in', |
274 ], | 274 ], |
275 'outputs': [ | 275 'outputs': [ |
276 '<(SHARED_INTERMEDIATE_DIR)/chromecast/common/version.h', | 276 '<(SHARED_INTERMEDIATE_DIR)/chromecast/common/version.h', |
277 ], | 277 ], |
278 'action': [ | 278 'action': [ |
279 'python', | 279 'python', |
280 '<(version_py_path)', | 280 '<(version_py_path)', |
281 '-e', 'VERSION_FULL="<(version_full)"', | 281 '-e', 'VERSION_FULL="<(version_full)"', |
| 282 # Revision is taken from buildbot if available; otherwise, a dev str
ing is used. |
| 283 '-e', 'CAST_BUILD_REVISION="<!(echo ${BUILD_NUMBER:="local.${USER}"}
)"', |
| 284 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" e
lse 0', |
282 'common/version.h.in', | 285 'common/version.h.in', |
283 '<@(_outputs)', | 286 '<@(_outputs)', |
284 ], | 287 ], |
285 'includes': [ | 288 'includes': [ |
286 '../build/util/version.gypi', | 289 '../build/util/version.gypi', |
287 ], | 290 ], |
288 }, | 291 }, |
289 ], | 292 ], |
290 }, | 293 }, |
291 { | 294 { |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 'sources': [ | 470 'sources': [ |
468 'shell/browser/test/chromecast_browser_test.cc', | 471 'shell/browser/test/chromecast_browser_test.cc', |
469 'shell/browser/test/chromecast_browser_test.h', | 472 'shell/browser/test/chromecast_browser_test.h', |
470 'shell/browser/test/chromecast_browser_test_runner.cc', | 473 'shell/browser/test/chromecast_browser_test_runner.cc', |
471 ], | 474 ], |
472 }, | 475 }, |
473 ], # end of targets | 476 ], # end of targets |
474 }], | 477 }], |
475 ], # end of conditions | 478 ], # end of conditions |
476 } | 479 } |
OLD | NEW |