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', |
11 }, | 11 }, |
| 12 'includes': [ |
| 13 'chromecast_tests.gypi', |
| 14 ], |
12 'target_defaults': { | 15 'target_defaults': { |
13 'include_dirs': [ | 16 'include_dirs': [ |
14 '..', # Root of Chromium checkout | 17 '..', # Root of Chromium checkout |
15 ], | 18 ], |
16 }, | 19 }, |
17 'targets': [ | 20 'targets': [ |
18 { | 21 { |
19 'target_name': 'cast_base', | 22 'target_name': 'cast_base', |
20 'type': '<(component)', | 23 'type': '<(component)', |
21 'dependencies': [ | 24 'dependencies': [ |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" e
lse 0', | 243 '-e', 'CAST_IS_DEBUG_BUILD=1 if "<(CONFIGURATION_NAME)" == "Debug" e
lse 0', |
241 'common/version.h.in', | 244 'common/version.h.in', |
242 '<@(_outputs)', | 245 '<@(_outputs)', |
243 ], | 246 ], |
244 'includes': [ | 247 'includes': [ |
245 '../build/util/version.gypi', | 248 '../build/util/version.gypi', |
246 ], | 249 ], |
247 }, | 250 }, |
248 ], | 251 ], |
249 }, | 252 }, |
250 { | |
251 'target_name': 'cast_metrics_test_support', | |
252 'type': '<(component)', | |
253 'dependencies': [ | |
254 'cast_base', | |
255 ], | |
256 'sources': [ | |
257 'base/metrics/cast_metrics_test_helper.cc', | |
258 'base/metrics/cast_metrics_test_helper.h', | |
259 ], | |
260 }, # end of target 'cast_metrics_test_support' | |
261 { | |
262 'target_name': 'cast_tests', | |
263 'type': 'none', | |
264 'dependencies': [ | |
265 'media/media.gyp:cast_media_unittests', | |
266 ], | |
267 }, | |
268 ], # end of targets | 253 ], # end of targets |
269 | 254 |
270 # Targets for Android receiver. | 255 # Targets for Android receiver. |
271 'conditions': [ | 256 'conditions': [ |
272 ['OS=="android"', { | 257 ['OS=="android"', { |
273 'targets': [ | 258 'targets': [ |
274 { | 259 { |
275 'target_name': 'libcast_shell_android', | 260 'target_name': 'libcast_shell_android', |
276 'type': 'shared_library', | 261 'type': 'shared_library', |
277 'dependencies': [ | 262 'dependencies': [ |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 { | 425 { |
441 'target_name': 'cast_shell', | 426 'target_name': 'cast_shell', |
442 'type': 'executable', | 427 'type': 'executable', |
443 'dependencies': [ | 428 'dependencies': [ |
444 'cast_shell_core', | 429 'cast_shell_core', |
445 ], | 430 ], |
446 'sources': [ | 431 'sources': [ |
447 'app/cast_main.cc', | 432 'app/cast_main.cc', |
448 ], | 433 ], |
449 }, | 434 }, |
450 { | |
451 'target_name': 'cast_shell_browser_test', | |
452 'type': '<(gtest_target_type)', | |
453 'dependencies': [ | |
454 'cast_shell_test_support', | |
455 '../testing/gtest.gyp:gtest', | |
456 ], | |
457 'defines': [ | |
458 'HAS_OUT_OF_PROC_TEST_RUNNER', | |
459 ], | |
460 'sources': [ | |
461 'browser/test/chromecast_shell_browser_test.cc', | |
462 ], | |
463 }, | |
464 { | |
465 'target_name': 'cast_shell_test_support', | |
466 'type': '<(component)', | |
467 'defines': [ | |
468 'HAS_OUT_OF_PROC_TEST_RUNNER', | |
469 ], | |
470 'dependencies': [ | |
471 'cast_shell_core', | |
472 '../content/content_shell_and_tests.gyp:content_browser_test_support
', | |
473 '../testing/gtest.gyp:gtest', | |
474 ], | |
475 'sources': [ | |
476 'browser/test/chromecast_browser_test.cc', | |
477 'browser/test/chromecast_browser_test.h', | |
478 'browser/test/chromecast_browser_test_runner.cc', | |
479 ], | |
480 }, | |
481 ], # end of targets | 435 ], # end of targets |
482 }], | 436 }], |
483 ], # end of conditions | 437 ], # end of conditions |
484 } | 438 } |
OLD | NEW |