| 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 { |
| 11 'target_name': 'cast_base_unittests', | 11 'target_name': 'cast_base_unittests', |
| 12 'type': '<(gtest_target_type)', | 12 'type': '<(gtest_target_type)', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 'chromecast.gyp:cast_base', | 14 'chromecast.gyp:cast_base', |
| 15 '../base/base.gyp:run_all_unittests', | 15 '../base/base.gyp:run_all_unittests', |
| 16 '../testing/gtest.gyp:gtest', | 16 '../testing/gtest.gyp:gtest', |
| 17 ], | 17 ], |
| 18 'sources': [ | 18 'sources': [ |
| 19 'base/path_utils_unittest.cc', | 19 'base/path_utils_unittest.cc', |
| 20 'base/process_utils_unittest.cc', | 20 'base/process_utils_unittest.cc', |
| 21 'base/serializers_unittest.cc', | 21 'base/serializers_unittest.cc', |
| 22 ], | 22 ], |
| 23 }, | 23 }, # end of cast_base_unittests |
| 24 { |
| 25 'target_name': 'cast_crash_unittests', |
| 26 'type': '<(gtest_target_type)', |
| 27 'dependencies': [ |
| 28 'chromecast.gyp:cast_crash', |
| 29 '../base/base.gyp:run_all_unittests', |
| 30 '../testing/gtest.gyp:gtest', |
| 31 ], |
| 32 'sources': [ |
| 33 'crash/linux/dump_info_unittest.cc', |
| 34 'crash/linux/synchronized_minidump_manager_unittest.cc', |
| 35 'crash/linux/minidump_writer_unittest.cc', |
| 36 ], |
| 37 }, # end of cast_crash_unittests |
| 24 { | 38 { |
| 25 'target_name': 'cast_tests', | 39 'target_name': 'cast_tests', |
| 26 'type': 'none', | 40 'type': 'none', |
| 27 'dependencies': [ | 41 'dependencies': [ |
| 28 'cast_test_generator', | 42 'cast_test_generator', |
| 29 ], | 43 ], |
| 30 'conditions': [ | 44 'conditions': [ |
| 31 ['chromecast_branding=="Chrome"', { | 45 ['chromecast_branding=="Chrome"', { |
| 32 'dependencies': [ | 46 'dependencies': [ |
| 33 'internal/chromecast_internal.gyp:cast_tests_internal', | 47 'internal/chromecast_internal.gyp:cast_tests_internal', |
| 34 ], | 48 ], |
| 35 }], | 49 }], |
| 36 ], | 50 ], |
| 37 }, | 51 }, |
| 38 # This target only depends on targets that generate test binaries. | 52 # This target only depends on targets that generate test binaries. |
| 39 { | 53 { |
| 40 'target_name': 'cast_test_generator', | 54 'target_name': 'cast_test_generator', |
| 41 'type': 'none', | 55 'type': 'none', |
| 42 'dependencies': [ | 56 'dependencies': [ |
| 43 'cast_base_unittests', | 57 'cast_base_unittests', |
| 58 'cast_crash_unittests', |
| 44 '../base/base.gyp:base_unittests', | 59 '../base/base.gyp:base_unittests', |
| 45 '../content/content_shell_and_tests.gyp:content_unittests', | 60 '../content/content_shell_and_tests.gyp:content_unittests', |
| 46 '../crypto/crypto.gyp:crypto_unittests', | 61 '../crypto/crypto.gyp:crypto_unittests', |
| 47 '../ipc/ipc.gyp:ipc_tests', | 62 '../ipc/ipc.gyp:ipc_tests', |
| 48 '../jingle/jingle.gyp:jingle_unittests', | 63 '../jingle/jingle.gyp:jingle_unittests', |
| 49 '../media/media.gyp:media_unittests', | 64 '../media/media.gyp:media_unittests', |
| 50 '../media/midi/midi.gyp:midi_unittests', | 65 '../media/midi/midi.gyp:midi_unittests', |
| 51 '../net/net.gyp:net_unittests', | 66 '../net/net.gyp:net_unittests', |
| 52 '../sandbox/sandbox.gyp:sandbox_linux_unittests', | 67 '../sandbox/sandbox.gyp:sandbox_linux_unittests', |
| 53 '../sql/sql.gyp:sql_unittests', | 68 '../sql/sql.gyp:sql_unittests', |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 ], | 121 ], |
| 107 } | 122 } |
| 108 }], | 123 }], |
| 109 ['disable_display==0', { | 124 ['disable_display==0', { |
| 110 'dependencies': [ | 125 'dependencies': [ |
| 111 '../gpu/gpu.gyp:gpu_unittests', | 126 '../gpu/gpu.gyp:gpu_unittests', |
| 112 ], | 127 ], |
| 113 }], | 128 }], |
| 114 ['OS!="android"', { | 129 ['OS!="android"', { |
| 115 'dependencies': [ | 130 'dependencies': [ |
| 131 'cast_shell_unittests', |
| 116 'cast_shell_browser_test', | 132 'cast_shell_browser_test', |
| 117 'media/media.gyp:cast_media_unittests', | 133 'media/media.gyp:cast_media_unittests', |
| 118 ], | 134 ], |
| 119 'variables': { | 135 'variables': { |
| 120 'filters': [ | 136 'filters': [ |
| 121 'cast_shell_browser_test --no-sandbox --disable-gpu', | 137 'cast_shell_browser_test --no-sandbox --disable-gpu', |
| 122 ], | 138 ], |
| 123 }, | 139 }, |
| 124 }], | 140 }], |
| 125 ['disable_display==1', { | 141 ['disable_display==1', { |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 'cast_shell_test_support', | 283 'cast_shell_test_support', |
| 268 '../testing/gtest.gyp:gtest', | 284 '../testing/gtest.gyp:gtest', |
| 269 ], | 285 ], |
| 270 'defines': [ | 286 'defines': [ |
| 271 'HAS_OUT_OF_PROC_TEST_RUNNER', | 287 'HAS_OUT_OF_PROC_TEST_RUNNER', |
| 272 ], | 288 ], |
| 273 'sources': [ | 289 'sources': [ |
| 274 'browser/test/chromecast_shell_browser_test.cc', | 290 'browser/test/chromecast_shell_browser_test.cc', |
| 275 ], | 291 ], |
| 276 }, | 292 }, |
| 293 { |
| 294 'target_name': 'cast_shell_unittests', |
| 295 'type': '<(gtest_target_type)', |
| 296 'dependencies': [ |
| 297 'chromecast.gyp:cast_crash_client', |
| 298 '../base/base.gyp:run_all_unittests', |
| 299 '../testing/gtest.gyp:gtest', |
| 300 ], |
| 301 'sources': [ |
| 302 'app/linux/cast_crash_reporter_client_unittest.cc', |
| 303 ], |
| 304 }, # end of cast_shell_unittests |
| 277 ], # end of targets | 305 ], # end of targets |
| 278 }], | 306 }], |
| 279 ], # end of conditions | 307 ], # end of conditions |
| 280 } | 308 } |
| OLD | NEW |