Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(780)

Side by Side Diff: chrome/chrome_tests.gypi

Issue 9691067: Add a new 'run_all_unittests' target in base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'variables' : { 5 'variables' : {
6 'pyautolib_sources': [ 6 'pyautolib_sources': [
7 'app/chrome_command_ids.h', 7 'app/chrome_command_ids.h',
8 'app/chrome_dll_resource.h', 8 'app/chrome_dll_resource.h',
9 'common/automation_constants.h', 9 'common/automation_constants.h',
10 'common/pref_names.cc', 10 'common/pref_names.cc',
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 }, 321 },
322 { 322 {
323 'target_name': 'test_support_ui', 323 'target_name': 'test_support_ui',
324 'type': 'static_library', 324 'type': 'static_library',
325 'dependencies': [ 325 'dependencies': [
326 'chrome_resources.gyp:chrome_resources', 326 'chrome_resources.gyp:chrome_resources',
327 'chrome_resources.gyp:chrome_strings', 327 'chrome_resources.gyp:chrome_strings',
328 'chrome_resources.gyp:theme_resources', 328 'chrome_resources.gyp:theme_resources',
329 'test_support_common', 329 'test_support_common',
330 '../skia/skia.gyp:skia', 330 '../skia/skia.gyp:skia',
331 '../base/base.gyp:run_all_unittests',
331 '../testing/gtest.gyp:gtest', 332 '../testing/gtest.gyp:gtest',
332 ], 333 ],
333 'export_dependent_settings': [ 334 'export_dependent_settings': [
334 'test_support_common', 335 'test_support_common',
336 '../base/base.gyp:run_all_unittests',
Ryan Sleevi 2012/03/16 02:45:25 And the motivation for this (and on 443)
akalin 2012/03/16 06:59:20 rendered moot.
335 ], 337 ],
336 'include_dirs': [ 338 'include_dirs': [
337 '..', 339 '..',
338 ], 340 ],
339 'sources': [ 341 'sources': [
340 'test/automation/proxy_launcher.cc', 342 'test/automation/proxy_launcher.cc',
341 'test/automation/proxy_launcher.h', 343 'test/automation/proxy_launcher.h',
342 'test/base/layout_test_http_server.cc', 344 'test/base/layout_test_http_server.cc',
343 'test/base/layout_test_http_server.h', 345 'test/base/layout_test_http_server.h',
344 'test/reliability/automated_ui_test_base.cc', 346 'test/reliability/automated_ui_test_base.cc',
345 'test/reliability/automated_ui_test_base.h', 347 'test/reliability/automated_ui_test_base.h',
346 'test/ui/javascript_test_util.cc', 348 'test/ui/javascript_test_util.cc',
347 'test/ui/npapi_test_helper.cc', 349 'test/ui/npapi_test_helper.cc',
348 'test/ui/npapi_test_helper.h', 350 'test/ui/npapi_test_helper.h',
349 'test/ui/run_all_unittests.cc',
Ryan Sleevi 2012/03/16 02:48:45 This is a different test harness.
akalin 2012/03/16 06:59:20 Indeed! reverted.
350 'test/ui/ui_layout_test.cc', 351 'test/ui/ui_layout_test.cc',
351 'test/ui/ui_layout_test.h', 352 'test/ui/ui_layout_test.h',
352 'test/ui/ui_perf_test.cc', 353 'test/ui/ui_perf_test.cc',
353 'test/ui/ui_perf_test.h', 354 'test/ui/ui_perf_test.h',
354 'test/ui/ui_test.cc', 355 'test/ui/ui_test.cc',
355 'test/ui/ui_test.h', 356 'test/ui/ui_test.h',
356 'test/ui/ui_test_suite.cc', 357 'test/ui/ui_test_suite.cc',
357 'test/ui/ui_test_suite.h', 358 'test/ui/ui_test_suite.h',
358 ], 359 ],
359 'conditions': [ 360 'conditions': [
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 'browser/sync/notifier/mock_sync_notifier_observer.h', 428 'browser/sync/notifier/mock_sync_notifier_observer.h',
428 ], 429 ],
429 }, 430 },
430 { 431 {
431 'target_name': 'test_support_unit', 432 'target_name': 'test_support_unit',
432 'type': 'static_library', 433 'type': 'static_library',
433 'dependencies': [ 434 'dependencies': [
434 'chrome_resources.gyp:chrome_resources', 435 'chrome_resources.gyp:chrome_resources',
435 'chrome_resources.gyp:chrome_strings', 436 'chrome_resources.gyp:chrome_strings',
436 'test_support_common', 437 'test_support_common',
438 '../base/base.gyp:run_all_unittests',
437 '../skia/skia.gyp:skia', 439 '../skia/skia.gyp:skia',
438 '../testing/gtest.gyp:gtest', 440 '../testing/gtest.gyp:gtest',
439 ], 441 ],
442 'export_dependent_settings': [
443 '../base/base.gyp:run_all_unittests',
444 ],
440 'include_dirs': [ 445 'include_dirs': [
441 '..', 446 '..',
442 ], 447 ],
443 'sources': [
444 'test/base/run_all_unittests.cc',
Ryan Sleevi 2012/03/16 02:48:45 As is this
akalin 2012/03/16 06:59:20 Reverted this too.
445 ],
446 'conditions': [
447 ['toolkit_uses_gtk == 1', {
448 'dependencies': [
449 # Needed for the following #include chain:
450 # test/base/run_all_unittests.cc
451 # test/base/chrome_test_suite.h
452 # gtk/gtk.h
453 '../build/linux/system.gyp:gtk',
454 ],
455 }],
456 ],
457 }, 448 },
458 { 449 {
459 'target_name': 'automated_ui_tests', 450 'target_name': 'automated_ui_tests',
460 'type': 'executable', 451 'type': 'executable',
461 'dependencies': [ 452 'dependencies': [
462 'browser', 453 'browser',
463 'chrome_resources.gyp:theme_resources', 454 'chrome_resources.gyp:theme_resources',
464 'renderer', 455 'renderer',
465 'test_support_common', 456 'test_support_common',
466 'test_support_ui', 457 'test_support_ui',
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 }, 1109 },
1119 }, 1110 },
1120 }], 1111 }],
1121 ] 1112 ]
1122 }, 1113 },
1123 { 1114 {
1124 'target_name': 'chromedriver_unittests', 1115 'target_name': 'chromedriver_unittests',
1125 'type': 'executable', 1116 'type': 'executable',
1126 'dependencies': [ 1117 'dependencies': [
1127 'chromedriver_lib', 1118 'chromedriver_lib',
1128 '../base/base.gyp:test_support_base', 1119 '../base/base.gyp:run_all_unittests',
1129 '../testing/gtest.gyp:gtest', 1120 '../testing/gtest.gyp:gtest',
1130 '../skia/skia.gyp:skia', 1121 '../skia/skia.gyp:skia',
1131 ], 1122 ],
1132 'include_dirs': [ 1123 'include_dirs': [
1133 '..', 1124 '..',
1134 ], 1125 ],
1135 'sources': [ 1126 'sources': [
1136 '../base/test/run_all_unittests.cc',
1137 'test/webdriver/commands/set_timeout_commands_unittest.cc', 1127 'test/webdriver/commands/set_timeout_commands_unittest.cc',
1138 'test/webdriver/frame_path_unittest.cc', 1128 'test/webdriver/frame_path_unittest.cc',
1139 'test/webdriver/http_response_unittest.cc', 1129 'test/webdriver/http_response_unittest.cc',
1140 'test/webdriver/keycode_text_conversion_unittest.cc', 1130 'test/webdriver/keycode_text_conversion_unittest.cc',
1141 'test/webdriver/webdriver_capabilities_parser_unittest.cc', 1131 'test/webdriver/webdriver_capabilities_parser_unittest.cc',
1142 'test/webdriver/webdriver_dispatch_unittest.cc', 1132 'test/webdriver/webdriver_dispatch_unittest.cc',
1143 'test/webdriver/webdriver_key_converter_unittest.cc', 1133 'test/webdriver/webdriver_key_converter_unittest.cc',
1144 'test/webdriver/webdriver_test_util.cc', 1134 'test/webdriver/webdriver_test_util.cc',
1145 'test/webdriver/webdriver_test_util.h', 1135 'test/webdriver/webdriver_test_util.h',
1146 'test/webdriver/webdriver_util_unittest.cc', 1136 'test/webdriver/webdriver_util_unittest.cc',
(...skipping 2465 matching lines...) Expand 10 before | Expand all | Expand 10 after
3612 'dependencies': [ 3602 'dependencies': [
3613 '../ui/views/views.gyp:views', 3603 '../ui/views/views.gyp:views',
3614 ], 3604 ],
3615 }], 3605 }],
3616 ], 3606 ],
3617 }, 3607 },
3618 { 3608 {
3619 'target_name': 'sync_unit_tests', 3609 'target_name': 'sync_unit_tests',
3620 'type': 'executable', 3610 'type': 'executable',
3621 'sources': [ 3611 'sources': [
3622 '../base/test/run_all_unittests.cc',
3623 'browser/sync/api/sync_change_unittest.cc', 3612 'browser/sync/api/sync_change_unittest.cc',
3624 'browser/sync/api/sync_error_unittest.cc', 3613 'browser/sync/api/sync_error_unittest.cc',
3625 'browser/sync/internal_api/change_record_unittest.cc', 3614 'browser/sync/internal_api/change_record_unittest.cc',
3626 'browser/sync/internal_api/debug_info_event_listener_unittest.cc', 3615 'browser/sync/internal_api/debug_info_event_listener_unittest.cc',
3627 'browser/sync/internal_api/syncapi_server_connection_manager_unittest.cc ', 3616 'browser/sync/internal_api/syncapi_server_connection_manager_unittest.cc ',
3628 'browser/sync/internal_api/syncapi_unittest.cc', 3617 'browser/sync/internal_api/syncapi_unittest.cc',
3629 'browser/sync/internal_api/js_mutation_event_observer_unittest.cc', 3618 'browser/sync/internal_api/js_mutation_event_observer_unittest.cc',
3630 'browser/sync/internal_api/js_sync_manager_observer_unittest.cc', 3619 'browser/sync/internal_api/js_sync_manager_observer_unittest.cc',
3631 'browser/sync/notifier/cache_invalidation_packet_handler_unittest.cc', 3620 'browser/sync/notifier/cache_invalidation_packet_handler_unittest.cc',
3632 'browser/sync/notifier/chrome_invalidation_client_unittest.cc', 3621 'browser/sync/notifier/chrome_invalidation_client_unittest.cc',
3633 'browser/sync/notifier/chrome_system_resources_unittest.cc', 3622 'browser/sync/notifier/chrome_system_resources_unittest.cc',
3634 'browser/sync/notifier/invalidation_notifier_unittest.cc', 3623 'browser/sync/notifier/invalidation_notifier_unittest.cc',
3635 'browser/sync/notifier/non_blocking_invalidation_notifier_unittest.cc', 3624 'browser/sync/notifier/non_blocking_invalidation_notifier_unittest.cc',
3636 'browser/sync/notifier/p2p_notifier_unittest.cc', 3625 'browser/sync/notifier/p2p_notifier_unittest.cc',
3637 'browser/sync/notifier/registration_manager_unittest.cc', 3626 'browser/sync/notifier/registration_manager_unittest.cc',
3638 'browser/sync/notifier/sync_notifier_factory_unittest.cc', 3627 'browser/sync/notifier/sync_notifier_factory_unittest.cc',
3639 ], 3628 ],
3640 'include_dirs': [ 3629 'include_dirs': [
3641 '..', 3630 '..',
3642 ], 3631 ],
3643 'dependencies': [ 3632 'dependencies': [
3644 '../sync/sync.gyp:sync_tests', 3633 '../sync/sync.gyp:sync_tests',
3645 '../base/base.gyp:test_support_base', 3634 '../base/base.gyp:run_all_unittests',
3646 '../jingle/jingle.gyp:notifier_test_util', 3635 '../jingle/jingle.gyp:notifier_test_util',
3647 '../net/net.gyp:net', 3636 '../net/net.gyp:net',
3648 '../net/net.gyp:net_test_support', 3637 '../net/net.gyp:net_test_support',
3649 '../testing/gmock.gyp:gmock', 3638 '../testing/gmock.gyp:gmock',
3650 '../testing/gtest.gyp:gtest', 3639 '../testing/gtest.gyp:gtest',
3651 'syncapi_core', 3640 'syncapi_core',
3652 'sync_notifier', 3641 'sync_notifier',
3653 'test_support_syncapi', 3642 'test_support_syncapi',
3654 'test_support_syncapi_service', 3643 'test_support_syncapi_service',
3655 'test_support_sync_notifier', 3644 'test_support_sync_notifier',
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
4583 # Use outputs of this action as inputs for the main target build. 4572 # Use outputs of this action as inputs for the main target build.
4584 # Seems as a misnomer but makes this happy on Linux (scons). 4573 # Seems as a misnomer but makes this happy on Linux (scons).
4585 'process_outputs_as_sources': 1, 4574 'process_outputs_as_sources': 1,
4586 }, 4575 },
4587 ], # 'actions' 4576 ], # 'actions'
4588 }, 4577 },
4589 ] 4578 ]
4590 }], # 'coverage!=0' 4579 }], # 'coverage!=0'
4591 ], # 'conditions' 4580 ], # 'conditions'
4592 } 4581 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698