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 'use_alsa%': 0, | 8 'use_alsa%': 0, |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 '../content/content_shell_and_tests.gyp:content_browser_test_support
', | 321 '../content/content_shell_and_tests.gyp:content_browser_test_support
', |
322 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | 322 '../mojo/mojo_public.gyp:mojo_cpp_bindings', |
323 '../testing/gtest.gyp:gtest', | 323 '../testing/gtest.gyp:gtest', |
324 ], | 324 ], |
325 'export_dependent_settings': [ | 325 'export_dependent_settings': [ |
326 '../content/content_shell_and_tests.gyp:content_browser_test_base', | 326 '../content/content_shell_and_tests.gyp:content_browser_test_base', |
327 ], | 327 ], |
328 'sources': [ | 328 'sources': [ |
329 'browser/test/chromecast_browser_test.cc', | 329 'browser/test/chromecast_browser_test.cc', |
330 'browser/test/chromecast_browser_test.h', | 330 'browser/test/chromecast_browser_test.h', |
| 331 'browser/test/chromecast_browser_test_helper.h', |
331 'browser/test/chromecast_browser_test_runner.cc', | 332 'browser/test/chromecast_browser_test_runner.cc', |
332 ], | 333 ], |
333 }, # end of target 'cast_shell_test_support' | 334 }, # end of target 'cast_shell_test_support' |
334 { | 335 { |
335 'target_name': 'cast_shell_browser_test', | 336 'target_name': 'cast_shell_browser_test', |
336 'type': '<(gtest_target_type)', | 337 'type': '<(gtest_target_type)', |
337 'dependencies': [ | 338 'dependencies': [ |
338 'cast_shell_test_support', | 339 'cast_shell_test_support', |
339 '../content/content_shell_and_tests.gyp:test_support_content', | 340 '../content/content_shell_and_tests.gyp:test_support_content', |
340 '../media/media.gyp:media_test_support', | 341 '../media/media.gyp:media_test_support', |
341 '../testing/gtest.gyp:gtest', | 342 '../testing/gtest.gyp:gtest', |
342 ], | 343 ], |
343 'defines': [ | 344 'defines': [ |
344 'HAS_OUT_OF_PROC_TEST_RUNNER', | 345 'HAS_OUT_OF_PROC_TEST_RUNNER', |
345 ], | 346 ], |
346 'sources': [ | 347 'sources': [ |
347 'browser/test/chromecast_shell_browser_test.cc', | 348 'browser/test/chromecast_shell_browser_test.cc', |
348 ], | 349 ], |
349 'conditions': [ | 350 'conditions': [ |
350 ['chromecast_branding=="public"', { | 351 ['chromecast_branding=="public"', { |
351 'dependencies': [ | 352 'dependencies': [ |
352 # Link default libcast_media_1.0 statically to prevent | 353 # Link default libcast_media_1.0 statically to prevent |
353 # linking dynamically against dummy implementation. | 354 # linking dynamically against dummy implementation. |
354 'media/media.gyp:libcast_media_1.0_default_core', | 355 'media/media.gyp:libcast_media_1.0_default_core', |
355 ], | 356 ], |
| 357 'sources': [ |
| 358 'browser/test/chromecast_browser_test_helper_default.cc', |
| 359 ], |
| 360 },{ |
| 361 'dependencies': [ |
| 362 'internal/chromecast_internal.gyp:cast_shell_browser_test_helper
_internal', |
| 363 ], |
356 }], | 364 }], |
357 ], | 365 ], |
358 }, | 366 }, |
359 # GN target: //chromecast/app:cast_shell_unittests | 367 # GN target: //chromecast/app:cast_shell_unittests |
360 { | 368 { |
361 'target_name': 'cast_shell_unittests', | 369 'target_name': 'cast_shell_unittests', |
362 'type': '<(gtest_target_type)', | 370 'type': '<(gtest_target_type)', |
363 'dependencies': [ | 371 'dependencies': [ |
364 'cast_crash_client', | 372 'cast_crash_client', |
365 'cast_crash_test_support', | 373 'cast_crash_test_support', |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 '-a', '<(test_additional_options)', | 419 '-a', '<(test_additional_options)', |
412 'pack_run', | 420 'pack_run', |
413 ], | 421 ], |
414 } | 422 } |
415 ], | 423 ], |
416 }, | 424 }, |
417 ], # end of targets | 425 ], # end of targets |
418 }], | 426 }], |
419 ], # end of conditions | 427 ], # end of conditions |
420 } | 428 } |
OLD | NEW |