| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 'cast_base_unittests', | 94 'cast_base_unittests', |
| 95 'cast_crash_unittests', | 95 'cast_crash_unittests', |
| 96 '../base/base.gyp:base_unittests', | 96 '../base/base.gyp:base_unittests', |
| 97 '../content/content_shell_and_tests.gyp:content_unittests', | 97 '../content/content_shell_and_tests.gyp:content_unittests', |
| 98 '../crypto/crypto.gyp:crypto_unittests', | 98 '../crypto/crypto.gyp:crypto_unittests', |
| 99 '../ipc/ipc.gyp:ipc_tests', | 99 '../ipc/ipc.gyp:ipc_tests', |
| 100 '../jingle/jingle.gyp:jingle_unittests', | 100 '../jingle/jingle.gyp:jingle_unittests', |
| 101 '../media/media.gyp:media_unittests', | 101 '../media/media.gyp:media_unittests', |
| 102 '../media/midi/midi.gyp:midi_unittests', | 102 '../media/midi/midi.gyp:midi_unittests', |
| 103 '../net/net.gyp:net_unittests', | 103 '../net/net.gyp:net_unittests', |
| 104 '../ppapi/ppapi_internal.gyp:ppapi_unittests', |
| 104 '../sandbox/sandbox.gyp:sandbox_linux_unittests', | 105 '../sandbox/sandbox.gyp:sandbox_linux_unittests', |
| 105 '../sql/sql.gyp:sql_unittests', | 106 '../sql/sql.gyp:sql_unittests', |
| 106 '../sync/sync.gyp:sync_unit_tests', | 107 '../sync/sync.gyp:sync_unit_tests', |
| 107 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_unittests', | 108 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_unittests', |
| 108 '../ui/base/ui_base_tests.gyp:ui_base_unittests', | 109 '../ui/base/ui_base_tests.gyp:ui_base_unittests', |
| 109 '../url/url.gyp:url_unittests', | 110 '../url/url.gyp:url_unittests', |
| 110 ], | 111 ], |
| 111 'conditions': [ | 112 'conditions': [ |
| 112 ['target_arch=="arm" and OS!="android"', { | 113 ['target_arch=="arm" and OS!="android"', { |
| 113 'variables': { | 114 'variables': { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 }, | 178 }, |
| 178 }], | 179 }], |
| 179 ['disable_display==1', { | 180 ['disable_display==1', { |
| 180 'variables': { | 181 'variables': { |
| 181 'filters': [ | 182 'filters': [ |
| 182 # These are not supported by the backend right now. b/21737919 | 183 # These are not supported by the backend right now. b/21737919 |
| 183 'cast_media_unittests --gtest_filter=-AudioVideoPipelineDeviceTest
.VorbisPlayback:AudioVideoPipelineDeviceTest.WebmPlayback', | 184 'cast_media_unittests --gtest_filter=-AudioVideoPipelineDeviceTest
.VorbisPlayback:AudioVideoPipelineDeviceTest.WebmPlayback', |
| 184 ], | 185 ], |
| 185 } | 186 } |
| 186 }], | 187 }], |
| 187 ['enable_plugins==1', { | |
| 188 'dependencies': [ | |
| 189 '../ppapi/ppapi_internal.gyp:ppapi_unittests', | |
| 190 ], | |
| 191 }], | |
| 192 ], | 188 ], |
| 193 'includes': ['build/tests/test_list.gypi'], | 189 'includes': ['build/tests/test_list.gypi'], |
| 194 }, | 190 }, |
| 195 { | 191 { |
| 196 'target_name': 'cast_metrics_test_support', | 192 'target_name': 'cast_metrics_test_support', |
| 197 'type': '<(component)', | 193 'type': '<(component)', |
| 198 'dependencies': [ | 194 'dependencies': [ |
| 199 'cast_base', | 195 'cast_base', |
| 200 ], | 196 ], |
| 201 'sources': [ | 197 'sources': [ |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 '-t', '<(test_inputs_dir)', | 300 '-t', '<(test_inputs_dir)', |
| 305 '-o', '<@(_outputs)', | 301 '-o', '<@(_outputs)', |
| 306 'pack_run', | 302 'pack_run', |
| 307 ], | 303 ], |
| 308 } | 304 } |
| 309 ], | 305 ], |
| 310 }, | 306 }, |
| 311 ], # end of targets | 307 ], # end of targets |
| 312 }, { # OS!="android" | 308 }, { # OS!="android" |
| 313 'targets': [ | 309 'targets': [ |
| 310 # GN target: //chromecast/browser:test_support |
| 314 { | 311 { |
| 315 'target_name': 'cast_shell_test_support', | 312 'target_name': 'cast_shell_test_support', |
| 316 'type': '<(component)', | 313 'type': '<(component)', |
| 317 'defines': [ | 314 'defines': [ |
| 318 'HAS_OUT_OF_PROC_TEST_RUNNER', | 315 'HAS_OUT_OF_PROC_TEST_RUNNER', |
| 319 ], | 316 ], |
| 320 'dependencies': [ | 317 'dependencies': [ |
| 321 'cast_shell_core', | 318 'cast_shell_core', |
| 322 '../content/content_shell_and_tests.gyp:content_browser_test_support
', | 319 '../content/content_shell_and_tests.gyp:content_browser_test_support
', |
| 323 '../testing/gtest.gyp:gtest', | 320 '../testing/gtest.gyp:gtest', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 336 'cast_shell_test_support', | 333 'cast_shell_test_support', |
| 337 '../testing/gtest.gyp:gtest', | 334 '../testing/gtest.gyp:gtest', |
| 338 ], | 335 ], |
| 339 'defines': [ | 336 'defines': [ |
| 340 'HAS_OUT_OF_PROC_TEST_RUNNER', | 337 'HAS_OUT_OF_PROC_TEST_RUNNER', |
| 341 ], | 338 ], |
| 342 'sources': [ | 339 'sources': [ |
| 343 'browser/test/chromecast_shell_browser_test.cc', | 340 'browser/test/chromecast_shell_browser_test.cc', |
| 344 ], | 341 ], |
| 345 }, | 342 }, |
| 343 # GN target: //chromecast/app:cast_shell_unittests |
| 346 { | 344 { |
| 347 'target_name': 'cast_shell_unittests', | 345 'target_name': 'cast_shell_unittests', |
| 348 'type': '<(gtest_target_type)', | 346 'type': '<(gtest_target_type)', |
| 349 'dependencies': [ | 347 'dependencies': [ |
| 350 'cast_crash_test_support', | 348 'cast_crash_test_support', |
| 351 'chromecast.gyp:cast_crash_client', | 349 'chromecast.gyp:cast_crash_client', |
| 352 '../base/base.gyp:run_all_unittests', | 350 '../base/base.gyp:run_all_unittests', |
| 353 '../testing/gtest.gyp:gtest', | 351 '../testing/gtest.gyp:gtest', |
| 354 ], | 352 ], |
| 355 'sources': [ | 353 'sources': [ |
| 356 'app/linux/cast_crash_reporter_client_unittest.cc', | 354 'app/linux/cast_crash_reporter_client_unittest.cc', |
| 357 ], | 355 ], |
| 358 }, # end of cast_shell_unittests | 356 }, # end of cast_shell_unittests |
| 359 # Builds all tests and the output lists of build/run targets for those t
ests. | 357 # Builds all tests and the output lists of build/run targets for those t
ests. |
| 360 # Note: producing a predetermined list of dependent inputs on which to | 358 # Note: producing a predetermined list of dependent inputs on which to |
| 361 # regenerate this output is difficult with GYP. This file is not | 359 # regenerate this output is difficult with GYP. This file is not |
| 362 # guaranteed to be regenerated outside of a clean build. | 360 # guaranteed to be regenerated outside of a clean build. |
| 361 # GN target: //chromecast:cast_test_lists |
| 363 { | 362 { |
| 364 'target_name': 'cast_test_lists', | 363 'target_name': 'cast_test_lists', |
| 365 'type': 'none', | 364 'type': 'none', |
| 366 'dependencies': [ | 365 'dependencies': [ |
| 367 'cast_tests', | 366 'cast_tests', |
| 368 ], | 367 ], |
| 369 'variables': { | 368 'variables': { |
| 370 'test_generator_py': '<(DEPTH)/chromecast/tools/build/generate_test_
lists.py', | 369 'test_generator_py': '<(DEPTH)/chromecast/tools/build/generate_test_
lists.py', |
| 371 'test_inputs_dir': '<(SHARED_INTERMEDIATE_DIR)/chromecast/tests', | 370 'test_inputs_dir': '<(SHARED_INTERMEDIATE_DIR)/chromecast/tests', |
| 372 'test_additional_options': '--ozone-platform=test' | 371 'test_additional_options': '--ozone-platform=test' |
| (...skipping 23 matching lines...) Expand all Loading... |
| 396 '-a', '<(test_additional_options)', | 395 '-a', '<(test_additional_options)', |
| 397 'pack_run', | 396 'pack_run', |
| 398 ], | 397 ], |
| 399 } | 398 } |
| 400 ], | 399 ], |
| 401 }, | 400 }, |
| 402 ], # end of targets | 401 ], # end of targets |
| 403 }], | 402 }], |
| 404 ], # end of conditions | 403 ], # end of conditions |
| 405 } | 404 } |
| OLD | NEW |