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

Side by Side Diff: chrome/chrome_tests.gypi

Issue 10147003: [Sync] Move 'syncapi_core' and 'sync_unit_tests' targets to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 8 years, 8 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 ], 347 ],
348 }], 348 }],
349 ['toolkit_uses_gtk == 1', { 349 ['toolkit_uses_gtk == 1', {
350 'dependencies': [ 350 'dependencies': [
351 '../build/linux/system.gyp:gtk', 351 '../build/linux/system.gyp:gtk',
352 ], 352 ],
353 }], 353 }],
354 ], 354 ],
355 }, 355 },
356 { 356 {
357 'target_name': 'test_support_syncapi',
358 'type': 'static_library',
359 'dependencies': [
360 '../base/base.gyp:base',
361 'syncapi_core',
362 '../sync/sync.gyp:test_support_sync',
363 ],
364 'export_dependent_settings': [
365 '../base/base.gyp:base',
366 'syncapi_core',
367 '../sync/sync.gyp:test_support_sync',
368 ],
369 'include_dirs': [
370 '..',
371 ],
372 'sources': [
373 'browser/sync/test/engine/test_user_share.cc',
374 'browser/sync/test/engine/test_user_share.h',
375 ],
376 },
377 {
378 'target_name': 'test_support_syncapi_service', 357 'target_name': 'test_support_syncapi_service',
379 'type': 'static_library', 358 'type': 'static_library',
380 'dependencies': [ 359 'dependencies': [
381 '../testing/gmock.gyp:gmock', 360 '../testing/gmock.gyp:gmock',
382 'syncapi_service', 361 'syncapi_service',
383 ], 362 ],
384 'export_dependent_settings': [ 363 'export_dependent_settings': [
385 '../testing/gmock.gyp:gmock', 364 '../testing/gmock.gyp:gmock',
386 'syncapi_service', 365 'syncapi_service',
387 ], 366 ],
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 }], 451 }],
473 ], 452 ],
474 }], 453 }],
475 ], 454 ],
476 }, 455 },
477 { 456 {
478 'target_name': 'interactive_ui_tests', 457 'target_name': 'interactive_ui_tests',
479 'type': 'executable', 458 'type': 'executable',
480 'dependencies': [ 459 'dependencies': [
481 '../sync/protocol/sync_proto.gyp:sync_proto', 460 '../sync/protocol/sync_proto.gyp:sync_proto',
461 '../sync/sync.gyp:syncapi_core',
482 'chrome', 462 'chrome',
483 'chrome_resources.gyp:chrome_resources', 463 'chrome_resources.gyp:chrome_resources',
484 'chrome_resources.gyp:chrome_strings', 464 'chrome_resources.gyp:chrome_strings',
485 'debugger', 465 'debugger',
486 'syncapi_core',
487 'test_support_common', 466 'test_support_common',
488 'test_support_ui', 467 'test_support_ui',
489 '../third_party/hunspell/hunspell.gyp:hunspell', 468 '../third_party/hunspell/hunspell.gyp:hunspell',
490 '../net/net.gyp:net', 469 '../net/net.gyp:net',
491 '../net/net.gyp:net_resources', 470 '../net/net.gyp:net_resources',
492 '../net/net.gyp:net_test_support', 471 '../net/net.gyp:net_test_support',
493 '../skia/skia.gyp:skia', 472 '../skia/skia.gyp:skia',
494 '../third_party/icu/icu.gyp:icui18n', 473 '../third_party/icu/icu.gyp:icui18n',
495 '../third_party/icu/icu.gyp:icuuc', 474 '../third_party/icu/icu.gyp:icuuc',
496 '../third_party/libpng/libpng.gyp:libpng', 475 '../third_party/libpng/libpng.gyp:libpng',
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 # See http://www.chromium.org/developers/testing/webdriver-for-chrome 825 # See http://www.chromium.org/developers/testing/webdriver-for-chrome
847 'target_name': 'chromedriver_lib', 826 'target_name': 'chromedriver_lib',
848 'type': 'static_library', 827 'type': 'static_library',
849 'dependencies': [ 828 'dependencies': [
850 'browser', 829 'browser',
851 'chrome', 830 'chrome',
852 'chrome_resources.gyp:chrome_resources', 831 'chrome_resources.gyp:chrome_resources',
853 'chrome_resources.gyp:chrome_strings', 832 'chrome_resources.gyp:chrome_strings',
854 'chromedriver_support', 833 'chromedriver_support',
855 'common', 834 'common',
856 'syncapi_core',
857 'test_support_ui', 835 'test_support_ui',
858 '../base/base.gyp:base', 836 '../base/base.gyp:base',
859 '../build/temp_gyp/googleurl.gyp:googleurl', 837 '../build/temp_gyp/googleurl.gyp:googleurl',
860 '../net/net.gyp:net', 838 '../net/net.gyp:net',
861 '../skia/skia.gyp:skia', 839 '../skia/skia.gyp:skia',
840 '../sync/sync.gyp:syncapi_core',
862 '../testing/gtest.gyp:gtest', 841 '../testing/gtest.gyp:gtest',
863 '../third_party/icu/icu.gyp:icui18n', 842 '../third_party/icu/icu.gyp:icui18n',
864 '../third_party/icu/icu.gyp:icuuc', 843 '../third_party/icu/icu.gyp:icuuc',
865 '../third_party/libxml/libxml.gyp:libxml', 844 '../third_party/libxml/libxml.gyp:libxml',
866 ], 845 ],
867 'include_dirs': [ 846 'include_dirs': [
868 '..', 847 '..',
869 ], 848 ],
870 'sources': [ 849 'sources': [
871 'test/webdriver/commands/alert_commands.cc', 850 'test/webdriver/commands/alert_commands.cc',
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 '../base/base.gyp:test_support_base', 1070 '../base/base.gyp:test_support_base',
1092 '../gpu/gpu.gyp:gpu_unittest_utils', 1071 '../gpu/gpu.gyp:gpu_unittest_utils',
1093 '../media/media.gyp:media_test_support', 1072 '../media/media.gyp:media_test_support',
1094 '../net/net.gyp:net', 1073 '../net/net.gyp:net',
1095 '../net/net.gyp:net_test_support', 1074 '../net/net.gyp:net_test_support',
1096 '../testing/gmock.gyp:gmock', 1075 '../testing/gmock.gyp:gmock',
1097 '../testing/gtest.gyp:gtest', 1076 '../testing/gtest.gyp:gtest',
1098 'test_support_common', 1077 'test_support_common',
1099 '../sync/sync.gyp:test_support_sync', 1078 '../sync/sync.gyp:test_support_sync',
1100 '../sync/sync.gyp:test_support_sync_notifier', 1079 '../sync/sync.gyp:test_support_sync_notifier',
1101 'test_support_syncapi', 1080 '../sync/sync.gyp:test_support_syncapi_core',
1102 'test_support_syncapi_service', 1081 'test_support_syncapi_service',
1103 'test_support_unit', 1082 'test_support_unit',
1104 # 3) anything tests directly depend on 1083 # 3) anything tests directly depend on
1105 '../skia/skia.gyp:skia', 1084 '../skia/skia.gyp:skia',
1106 '../third_party/bzip2/bzip2.gyp:bzip2', 1085 '../third_party/bzip2/bzip2.gyp:bzip2',
1107 '../third_party/cld/cld.gyp:cld', 1086 '../third_party/cld/cld.gyp:cld',
1108 '../third_party/icu/icu.gyp:icui18n', 1087 '../third_party/icu/icu.gyp:icui18n',
1109 '../third_party/icu/icu.gyp:icuuc', 1088 '../third_party/icu/icu.gyp:icuuc',
1110 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 1089 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1111 '../third_party/libjingle/libjingle.gyp:libjingle', 1090 '../third_party/libjingle/libjingle.gyp:libjingle',
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 'browser/signin/token_service_unittest.h', 1616 'browser/signin/token_service_unittest.h',
1638 'browser/signin/ubertoken_fetcher_unittest.cc', 1617 'browser/signin/ubertoken_fetcher_unittest.cc',
1639 'browser/speech/extension_api/tts_extension_api_controller_unittest.cc', 1618 'browser/speech/extension_api/tts_extension_api_controller_unittest.cc',
1640 'browser/speech/speech_recognition_bubble_controller_unittest.cc', 1619 'browser/speech/speech_recognition_bubble_controller_unittest.cc',
1641 'browser/spellchecker/spellcheck_platform_mac_unittest.cc', 1620 'browser/spellchecker/spellcheck_platform_mac_unittest.cc',
1642 'browser/spellchecker/spellcheck_profile_unittest.cc', 1621 'browser/spellchecker/spellcheck_profile_unittest.cc',
1643 'browser/status_icons/status_icon_unittest.cc', 1622 'browser/status_icons/status_icon_unittest.cc',
1644 'browser/status_icons/status_tray_unittest.cc', 1623 'browser/status_icons/status_tray_unittest.cc',
1645 'browser/sync/abstract_profile_sync_service_test.cc', 1624 'browser/sync/abstract_profile_sync_service_test.cc',
1646 'browser/sync/abstract_profile_sync_service_test.h', 1625 'browser/sync/abstract_profile_sync_service_test.h',
1626 'browser/sync/api/sync_change_unittest.cc',
1627 'browser/sync/api/sync_error_unittest.cc',
1647 'browser/sync/backend_migrator_unittest.cc', 1628 'browser/sync/backend_migrator_unittest.cc',
1648 'browser/sync/internal_api/read_node_mock.cc',
1649 'browser/sync/internal_api/read_node_mock.h',
1650 'browser/sync/glue/app_notification_data_type_controller_unittest.cc', 1629 'browser/sync/glue/app_notification_data_type_controller_unittest.cc',
1651 'browser/sync/glue/autofill_data_type_controller_unittest.cc', 1630 'browser/sync/glue/autofill_data_type_controller_unittest.cc',
1652 'browser/sync/glue/bookmark_data_type_controller_unittest.cc', 1631 'browser/sync/glue/bookmark_data_type_controller_unittest.cc',
1653 'browser/sync/glue/bridged_sync_notifier_unittest.cc', 1632 'browser/sync/glue/bridged_sync_notifier_unittest.cc',
1654 'browser/sync/glue/browser_thread_model_worker_unittest.cc', 1633 'browser/sync/glue/browser_thread_model_worker_unittest.cc',
1655 'browser/sync/glue/change_processor_mock.cc', 1634 'browser/sync/glue/change_processor_mock.cc',
1656 'browser/sync/glue/change_processor_mock.h', 1635 'browser/sync/glue/change_processor_mock.h',
1657 'browser/sync/glue/chrome_encryptor_unittest.cc', 1636 'browser/sync/glue/chrome_encryptor_unittest.cc',
1658 'browser/sync/glue/chrome_extensions_activity_monitor_unittest.cc', 1637 'browser/sync/glue/chrome_extensions_activity_monitor_unittest.cc',
1659 'browser/sync/glue/chrome_sync_notification_bridge_unittest.cc', 1638 'browser/sync/glue/chrome_sync_notification_bridge_unittest.cc',
(...skipping 2142 matching lines...) Expand 10 before | Expand all | Expand 10 after
3802 ], 3781 ],
3803 }], 3782 }],
3804 ['toolkit_views==1', { 3783 ['toolkit_views==1', {
3805 'dependencies': [ 3784 'dependencies': [
3806 '../ui/views/views.gyp:views', 3785 '../ui/views/views.gyp:views',
3807 ], 3786 ],
3808 }], 3787 }],
3809 ], 3788 ],
3810 }, 3789 },
3811 { 3790 {
3812 'target_name': 'sync_unit_tests',
3813 'type': 'executable',
3814 'sources': [
3815 'browser/sync/api/sync_change_unittest.cc',
3816 'browser/sync/api/sync_error_unittest.cc',
3817 'browser/sync/internal_api/change_record_unittest.cc',
3818 'browser/sync/internal_api/debug_info_event_listener_unittest.cc',
3819 'browser/sync/internal_api/syncapi_server_connection_manager_unittest.cc ',
3820 'browser/sync/internal_api/syncapi_unittest.cc',
3821 'browser/sync/internal_api/js_mutation_event_observer_unittest.cc',
3822 'browser/sync/internal_api/js_sync_manager_observer_unittest.cc',
3823 ],
3824 'include_dirs': [
3825 '..',
3826 ],
3827 'dependencies': [
3828 '../base/base.gyp:run_all_unittests',
3829 '../base/base.gyp:test_support_base',
3830 '../net/net.gyp:net',
3831 '../net/net.gyp:net_test_support',
3832 '../sync/sync.gyp:sync_notifier_tests',
3833 '../sync/sync.gyp:sync_tests',
3834 '../testing/gmock.gyp:gmock',
3835 '../testing/gtest.gyp:gtest',
3836 'syncapi_core',
3837 'test_support_syncapi',
3838 'test_support_syncapi_service',
3839 ],
3840
3841 # TODO(akalin): This is needed because histogram.cc uses
3842 # leak_annotations.h, which pulls this in. Make 'base'
3843 # propagate this dependency.
3844 'conditions': [
3845 ['OS=="linux" and linux_use_tcmalloc==1', {
3846 'dependencies': [
3847 '../base/allocator/allocator.gyp:allocator',
3848 ],
3849 }],
3850 ],
3851 },
3852 {
3853 'target_name': 'sync_integration_tests', 3791 'target_name': 'sync_integration_tests',
3854 'type': 'executable', 3792 'type': 'executable',
3855 'dependencies': [ 3793 'dependencies': [
3856 'browser', 3794 'browser',
3857 '../sync/protocol/sync_proto.gyp:sync_proto', 3795 '../sync/protocol/sync_proto.gyp:sync_proto',
3858 'chrome', 3796 'chrome',
3859 'chrome_resources.gyp:chrome_resources', 3797 'chrome_resources.gyp:chrome_resources',
3860 'chrome_resources.gyp:chrome_strings', 3798 'chrome_resources.gyp:chrome_strings',
3861 'common', 3799 'common',
3862 'renderer', 3800 'renderer',
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
4343 },], # OS!="mac" 4281 },], # OS!="mac"
4344 ['OS=="win"', { 4282 ['OS=="win"', {
4345 'targets': [ 4283 'targets': [
4346 { 4284 {
4347 'target_name': 'generate_profile', 4285 'target_name': 'generate_profile',
4348 'type': 'executable', 4286 'type': 'executable',
4349 'dependencies': [ 4287 'dependencies': [
4350 'test_support_common', 4288 'test_support_common',
4351 'browser', 4289 'browser',
4352 'renderer', 4290 'renderer',
4353 'syncapi_core',
4354 '../base/base.gyp:base', 4291 '../base/base.gyp:base',
4355 '../net/net.gyp:net_test_support', 4292 '../net/net.gyp:net_test_support',
4356 '../skia/skia.gyp:skia', 4293 '../skia/skia.gyp:skia',
4294 '../sync/sync.gyp:syncapi_core',
4357 ], 4295 ],
4358 'include_dirs': [ 4296 'include_dirs': [
4359 '..', 4297 '..',
4360 ], 4298 ],
4361 'sources': [ 4299 'sources': [
4362 'tools/profiles/generate_profile.cc', 4300 'tools/profiles/generate_profile.cc',
4363 'tools/profiles/thumbnail-inl.h', 4301 'tools/profiles/thumbnail-inl.h',
4364 ], 4302 ],
4365 'conditions': [ 4303 'conditions': [
4366 ['OS=="win"', { 4304 ['OS=="win"', {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
4408 # Documentation: http://dev.chromium.org/developers/testing/pyauto 4346 # Documentation: http://dev.chromium.org/developers/testing/pyauto
4409 'target_name': 'pyautolib', 4347 'target_name': 'pyautolib',
4410 'type': 'loadable_module', 4348 'type': 'loadable_module',
4411 'product_prefix': '_', 4349 'product_prefix': '_',
4412 'dependencies': [ 4350 'dependencies': [
4413 'chrome', 4351 'chrome',
4414 'chrome_resources.gyp:chrome_resources', 4352 'chrome_resources.gyp:chrome_resources',
4415 'chrome_resources.gyp:chrome_strings', 4353 'chrome_resources.gyp:chrome_strings',
4416 'chrome_resources.gyp:theme_resources', 4354 'chrome_resources.gyp:theme_resources',
4417 'debugger', 4355 'debugger',
4418 'syncapi_core',
4419 'test_support_common', 4356 'test_support_common',
4420 '../skia/skia.gyp:skia', 4357 '../skia/skia.gyp:skia',
4358 '../sync/sync.gyp:syncapi_core',
4421 '../testing/gtest.gyp:gtest', 4359 '../testing/gtest.gyp:gtest',
4422 ], 4360 ],
4423 'export_dependent_settings': [ 4361 'export_dependent_settings': [
4424 'test_support_common', 4362 'test_support_common',
4425 ], 4363 ],
4426 'include_dirs': [ 4364 'include_dirs': [
4427 '..', 4365 '..',
4428 ], 4366 ],
4429 'cflags': [ 4367 'cflags': [
4430 '-Wno-uninitialized', 4368 '-Wno-uninitialized',
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
4702 # Use outputs of this action as inputs for the main target build. 4640 # Use outputs of this action as inputs for the main target build.
4703 # Seems as a misnomer but makes this happy on Linux (scons). 4641 # Seems as a misnomer but makes this happy on Linux (scons).
4704 'process_outputs_as_sources': 1, 4642 'process_outputs_as_sources': 1,
4705 }, 4643 },
4706 ], # 'actions' 4644 ], # 'actions'
4707 }, 4645 },
4708 ] 4646 ]
4709 }], # 'coverage!=0' 4647 }], # 'coverage!=0'
4710 ], # 'conditions' 4648 ], # 'conditions'
4711 } 4649 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698