OLD | NEW |
1 # Copyright (c) 2014 Google Inc. All Rights Reserved. | 1 # Copyright (c) 2014 Google Inc. 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 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 'browser/test/chromecast_browser_test.cc', | 341 'browser/test/chromecast_browser_test.cc', |
342 'browser/test/chromecast_browser_test.h', | 342 'browser/test/chromecast_browser_test.h', |
343 'browser/test/chromecast_browser_test_runner.cc', | 343 'browser/test/chromecast_browser_test_runner.cc', |
344 ], | 344 ], |
345 }, # end of target 'cast_shell_test_support' | 345 }, # end of target 'cast_shell_test_support' |
346 { | 346 { |
347 'target_name': 'cast_shell_browser_test', | 347 'target_name': 'cast_shell_browser_test', |
348 'type': '<(gtest_target_type)', | 348 'type': '<(gtest_target_type)', |
349 'dependencies': [ | 349 'dependencies': [ |
350 'cast_shell_test_support', | 350 'cast_shell_test_support', |
| 351 '../content/content_shell_and_tests.gyp:test_support_content', |
| 352 '../media/media.gyp:media_test_support', |
351 '../testing/gtest.gyp:gtest', | 353 '../testing/gtest.gyp:gtest', |
352 ], | 354 ], |
353 'defines': [ | 355 'defines': [ |
354 'HAS_OUT_OF_PROC_TEST_RUNNER', | 356 'HAS_OUT_OF_PROC_TEST_RUNNER', |
355 ], | 357 ], |
356 'sources': [ | 358 'sources': [ |
357 'browser/test/chromecast_shell_browser_test.cc', | 359 'browser/test/chromecast_shell_browser_test.cc', |
358 ], | 360 ], |
| 361 'conditions': [ |
| 362 ['chromecast_branding=="public"', { |
| 363 'dependencies': [ |
| 364 # Link default libcast_media_1.0 statically to prevent |
| 365 # linking dynamically against dummy implementation. |
| 366 'media/media.gyp:libcast_media_1.0_default_core', |
| 367 ], |
| 368 }], |
| 369 ], |
359 }, | 370 }, |
360 # GN target: //chromecast/app:cast_shell_unittests | 371 # GN target: //chromecast/app:cast_shell_unittests |
361 { | 372 { |
362 'target_name': 'cast_shell_unittests', | 373 'target_name': 'cast_shell_unittests', |
363 'type': '<(gtest_target_type)', | 374 'type': '<(gtest_target_type)', |
364 'dependencies': [ | 375 'dependencies': [ |
365 'cast_crash_client', | 376 'cast_crash_client', |
366 'cast_crash_test_support', | 377 'cast_crash_test_support', |
367 '../base/base.gyp:run_all_unittests', | 378 '../base/base.gyp:run_all_unittests', |
368 '../testing/gtest.gyp:gtest', | 379 '../testing/gtest.gyp:gtest', |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 '-a', '<(test_additional_options)', | 423 '-a', '<(test_additional_options)', |
413 'pack_run', | 424 'pack_run', |
414 ], | 425 ], |
415 } | 426 } |
416 ], | 427 ], |
417 }, | 428 }, |
418 ], # end of targets | 429 ], # end of targets |
419 }], | 430 }], |
420 ], # end of conditions | 431 ], # end of conditions |
421 } | 432 } |
OLD | NEW |