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

Side by Side Diff: chrome/chrome_tests.gypi

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some minor diffs 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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 ], 367 ],
368 }], 368 }],
369 ['toolkit_uses_gtk == 1', { 369 ['toolkit_uses_gtk == 1', {
370 'dependencies': [ 370 'dependencies': [
371 '../build/linux/system.gyp:gtk', 371 '../build/linux/system.gyp:gtk',
372 ], 372 ],
373 }], 373 }],
374 ], 374 ],
375 }, 375 },
376 { 376 {
377 'target_name': 'test_support_sync',
378 'type': 'static_library',
379 'dependencies': [
380 '../base/base.gyp:base',
381 '../testing/gmock.gyp:gmock',
382 '../testing/gtest.gyp:gtest',
383 'sync',
384 ],
385 'export_dependent_settings': [
386 '../base/base.gyp:base',
387 '../testing/gmock.gyp:gmock',
388 '../testing/gtest.gyp:gtest',
389 'sync',
390 ],
391 'include_dirs': [
392 '..',
393 ],
394 'sources': [
395 'browser/sync/js/js_test_util.cc',
396 'browser/sync/js/js_test_util.h',
397 'browser/sync/syncable/model_type_test_util.cc',
398 'browser/sync/syncable/model_type_test_util.h',
399 'browser/sync/syncable/syncable_mock.cc',
400 'browser/sync/syncable/syncable_mock.h',
401 'browser/sync/test/fake_encryptor.cc',
402 'browser/sync/test/fake_encryptor.h',
403 'browser/sync/test/fake_extensions_activity_monitor.cc',
404 'browser/sync/test/fake_extensions_activity_monitor.h',
405 'browser/sync/test/null_directory_change_delegate.cc',
406 'browser/sync/test/null_directory_change_delegate.h',
407 'browser/sync/test/null_transaction_observer.cc',
408 'browser/sync/test/null_transaction_observer.h',
409 'browser/sync/test/engine/test_directory_setter_upper.cc',
410 'browser/sync/test/engine/test_directory_setter_upper.h',
411 ],
412 },
413 {
414 'target_name': 'test_support_syncapi', 377 'target_name': 'test_support_syncapi',
415 'type': 'static_library', 378 'type': 'static_library',
416 'dependencies': [ 379 'dependencies': [
417 '../base/base.gyp:base', 380 '../base/base.gyp:base',
418 'syncapi_core', 381 'syncapi_core',
419 'test_support_sync', 382 '../sync/sync.gyp:test_support_sync',
420 ], 383 ],
421 'export_dependent_settings': [ 384 'export_dependent_settings': [
422 '../base/base.gyp:base', 385 '../base/base.gyp:base',
423 'syncapi_core', 386 'syncapi_core',
424 'test_support_sync', 387 '../sync/sync.gyp:test_support_sync',
425 ], 388 ],
426 'include_dirs': [ 389 'include_dirs': [
427 '..', 390 '..',
428 ], 391 ],
429 'sources': [ 392 'sources': [
430 'browser/sync/internal_api/includes/test_unrecoverable_error_handler.cc' ,
431 'browser/sync/internal_api/includes/test_unrecoverable_error_handler.h',
432 'browser/sync/test/engine/test_user_share.cc', 393 'browser/sync/test/engine/test_user_share.cc',
433 'browser/sync/test/engine/test_user_share.h', 394 'browser/sync/test/engine/test_user_share.h',
434 ], 395 ],
435 }, 396 },
436 { 397 {
437 'target_name': 'test_support_syncapi_service', 398 'target_name': 'test_support_syncapi_service',
438 'type': 'static_library', 399 'type': 'static_library',
439 'dependencies': [ 400 'dependencies': [
440 '../testing/gmock.gyp:gmock', 401 '../testing/gmock.gyp:gmock',
441 'syncapi_service', 402 'syncapi_service',
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
1228 '<@(chromium_dependencies)', 1189 '<@(chromium_dependencies)',
1229 # 2) test-specific support libraries: 1190 # 2) test-specific support libraries:
1230 '../base/base.gyp:test_support_base', 1191 '../base/base.gyp:test_support_base',
1231 '../gpu/gpu.gyp:gpu_unittest_utils', 1192 '../gpu/gpu.gyp:gpu_unittest_utils',
1232 '../media/media.gyp:media_test_support', 1193 '../media/media.gyp:media_test_support',
1233 '../net/net.gyp:net', 1194 '../net/net.gyp:net',
1234 '../net/net.gyp:net_test_support', 1195 '../net/net.gyp:net_test_support',
1235 '../testing/gmock.gyp:gmock', 1196 '../testing/gmock.gyp:gmock',
1236 '../testing/gtest.gyp:gtest', 1197 '../testing/gtest.gyp:gtest',
1237 'test_support_common', 1198 'test_support_common',
1238 'test_support_sync', 1199 '../sync/sync.gyp:test_support_sync',
1239 'test_support_syncapi', 1200 'test_support_syncapi',
1240 'test_support_syncapi_service', 1201 'test_support_syncapi_service',
1241 'test_support_sync_notifier', 1202 'test_support_sync_notifier',
1242 'test_support_unit', 1203 'test_support_unit',
1243 # 3) anything tests directly depend on 1204 # 3) anything tests directly depend on
1244 '../skia/skia.gyp:skia', 1205 '../skia/skia.gyp:skia',
1245 '../third_party/bzip2/bzip2.gyp:bzip2', 1206 '../third_party/bzip2/bzip2.gyp:bzip2',
1246 '../third_party/cld/cld.gyp:cld', 1207 '../third_party/cld/cld.gyp:cld',
1247 '../third_party/icu/icu.gyp:icui18n', 1208 '../third_party/icu/icu.gyp:icui18n',
1248 '../third_party/icu/icu.gyp:icuuc', 1209 '../third_party/icu/icu.gyp:icuuc',
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1795 'browser/sync/profile_sync_test_util.h', 1756 'browser/sync/profile_sync_test_util.h',
1796 'browser/sync/sync_global_error_unittest.cc', 1757 'browser/sync/sync_global_error_unittest.cc',
1797 'browser/sync/sync_prefs_unittest.cc', 1758 'browser/sync/sync_prefs_unittest.cc',
1798 'browser/sync/sync_setup_wizard_unittest.cc', 1759 'browser/sync/sync_setup_wizard_unittest.cc',
1799 'browser/sync/sync_ui_util_mac_unittest.mm', 1760 'browser/sync/sync_ui_util_mac_unittest.mm',
1800 'browser/sync/sync_ui_util_unittest.cc', 1761 'browser/sync/sync_ui_util_unittest.cc',
1801 'browser/sync/test_profile_sync_service.cc', 1762 'browser/sync/test_profile_sync_service.cc',
1802 'browser/sync/test_profile_sync_service.h', 1763 'browser/sync/test_profile_sync_service.h',
1803 'browser/sync/test/test_http_bridge_factory.cc', 1764 'browser/sync/test/test_http_bridge_factory.cc',
1804 'browser/sync/test/test_http_bridge_factory.h', 1765 'browser/sync/test/test_http_bridge_factory.h',
1805 'browser/sync/util/nigori_unittest.cc',
1806 'browser/tab_contents/render_view_context_menu_unittest.cc', 1766 'browser/tab_contents/render_view_context_menu_unittest.cc',
1807 'browser/tab_contents/thumbnail_generator_unittest.cc', 1767 'browser/tab_contents/thumbnail_generator_unittest.cc',
1808 'browser/tabs/pinned_tab_codec_unittest.cc', 1768 'browser/tabs/pinned_tab_codec_unittest.cc',
1809 'browser/tabs/pinned_tab_service_unittest.cc', 1769 'browser/tabs/pinned_tab_service_unittest.cc',
1810 'browser/tabs/pinned_tab_test_utils.cc', 1770 'browser/tabs/pinned_tab_test_utils.cc',
1811 'browser/tabs/tab_strip_model_unittest.cc', 1771 'browser/tabs/tab_strip_model_unittest.cc',
1812 'browser/tabs/tab_strip_selection_model_unittest.cc', 1772 'browser/tabs/tab_strip_selection_model_unittest.cc',
1813 'browser/tabs/test_tab_strip_model_delegate.cc', 1773 'browser/tabs/test_tab_strip_model_delegate.cc',
1814 'browser/tabs/test_tab_strip_model_delegate.h', 1774 'browser/tabs/test_tab_strip_model_delegate.h',
1815 'browser/task_manager/task_manager_unittest.cc', 1775 'browser/task_manager/task_manager_unittest.cc',
(...skipping 1852 matching lines...) Expand 10 before | Expand all | Expand 10 after
3668 'dependencies': [ 3628 'dependencies': [
3669 '../ui/views/views.gyp:views', 3629 '../ui/views/views.gyp:views',
3670 ], 3630 ],
3671 }], 3631 }],
3672 ], 3632 ],
3673 }, 3633 },
3674 { 3634 {
3675 'target_name': 'sync_unit_tests', 3635 'target_name': 'sync_unit_tests',
3676 'type': 'executable', 3636 'type': 'executable',
3677 'sources': [ 3637 'sources': [
3678 '<(protoc_out_dir)//sync/protocol/test.pb.cc',
3679 '../base/test/run_all_unittests.cc', 3638 '../base/test/run_all_unittests.cc',
3680 'app/breakpad_mac_stubs.mm',
3681 'browser/sync/api/sync_change_unittest.cc', 3639 'browser/sync/api/sync_change_unittest.cc',
3682 'browser/sync/api/sync_error_unittest.cc', 3640 'browser/sync/api/sync_error_unittest.cc',
3683 'browser/sync/engine/apply_updates_command_unittest.cc',
3684 'browser/sync/engine/build_commit_command_unittest.cc',
3685 'browser/sync/engine/clear_data_command_unittest.cc',
3686 'browser/sync/engine/cleanup_disabled_types_command_unittest.cc',
3687 'browser/sync/engine/download_updates_command_unittest.cc',
3688 'browser/sync/engine/model_changing_syncer_command_unittest.cc',
3689 'browser/sync/engine/model_safe_worker_unittest.cc',
3690 'browser/sync/engine/nigori_util_unittest.cc',
3691 'browser/sync/engine/process_commit_response_command_unittest.cc',
3692 'browser/sync/engine/process_updates_command_unittest.cc',
3693 'browser/sync/engine/resolve_conflicts_command_unittest.cc',
3694 'browser/sync/engine/syncer_proto_util_unittest.cc',
3695 'browser/sync/engine/sync_scheduler_unittest.cc',
3696 'browser/sync/engine/sync_scheduler_whitebox_unittest.cc',
3697 'browser/sync/engine/syncer_unittest.cc',
3698 'browser/sync/engine/syncproto_unittest.cc',
3699 'browser/sync/engine/verify_updates_command_unittest.cc',
3700 'browser/sync/internal_api/change_record_unittest.cc', 3641 'browser/sync/internal_api/change_record_unittest.cc',
3701 'browser/sync/internal_api/debug_info_event_listener_unittest.cc', 3642 'browser/sync/internal_api/debug_info_event_listener_unittest.cc',
3702 'browser/sync/internal_api/syncapi_mock.h',
3703 'browser/sync/internal_api/syncapi_server_connection_manager_unittest.cc ', 3643 'browser/sync/internal_api/syncapi_server_connection_manager_unittest.cc ',
3704 'browser/sync/internal_api/syncapi_unittest.cc', 3644 'browser/sync/internal_api/syncapi_unittest.cc',
3705 'browser/sync/js/js_arg_list_unittest.cc', 3645 'browser/sync/internal_api/js_mutation_event_observer_unittest.cc',
3706 'browser/sync/js/js_event_details_unittest.cc', 3646 'browser/sync/internal_api/js_sync_manager_observer_unittest.cc',
3707 'browser/sync/js/js_mutation_event_observer_unittest.cc',
3708 'browser/sync/js/js_sync_manager_observer_unittest.cc',
3709 'browser/sync/notifier/cache_invalidation_packet_handler_unittest.cc', 3647 'browser/sync/notifier/cache_invalidation_packet_handler_unittest.cc',
3710 'browser/sync/notifier/chrome_invalidation_client_unittest.cc', 3648 'browser/sync/notifier/chrome_invalidation_client_unittest.cc',
3711 'browser/sync/notifier/chrome_system_resources_unittest.cc', 3649 'browser/sync/notifier/chrome_system_resources_unittest.cc',
3712 'browser/sync/notifier/invalidation_notifier_unittest.cc', 3650 'browser/sync/notifier/invalidation_notifier_unittest.cc',
3713 'browser/sync/notifier/non_blocking_invalidation_notifier_unittest.cc', 3651 'browser/sync/notifier/non_blocking_invalidation_notifier_unittest.cc',
3714 'browser/sync/notifier/p2p_notifier_unittest.cc', 3652 'browser/sync/notifier/p2p_notifier_unittest.cc',
3715 'browser/sync/notifier/registration_manager_unittest.cc', 3653 'browser/sync/notifier/registration_manager_unittest.cc',
3716 'browser/sync/notifier/sync_notifier_factory_unittest.cc', 3654 'browser/sync/notifier/sync_notifier_factory_unittest.cc',
3717 'browser/sync/protocol/proto_enum_conversions_unittest.cc',
3718 'browser/sync/protocol/proto_value_conversions_unittest.cc',
3719 'browser/sync/sessions/ordered_commit_set_unittest.cc',
3720 'browser/sync/sessions/session_state_unittest.cc',
3721 'browser/sync/sessions/status_controller_unittest.cc',
3722 'browser/sync/sessions/sync_session_context_unittest.cc',
3723 'browser/sync/sessions/sync_session_unittest.cc',
3724 'browser/sync/sessions/test_util.cc',
3725 'browser/sync/sessions/test_util.h',
3726 'browser/sync/sync_js_controller_unittest.cc',
3727 'browser/sync/syncable/directory_backing_store_unittest.cc',
3728 'browser/sync/syncable/model_type_payload_map_unittest.cc',
3729 'browser/sync/syncable/model_type_unittest.cc',
3730 'browser/sync/syncable/syncable_enum_conversions_unittest.cc',
3731 'browser/sync/syncable/syncable_id_unittest.cc',
3732 'browser/sync/syncable/syncable_unittest.cc',
3733 'browser/sync/test/engine/fake_model_safe_worker_registrar.cc',
3734 'browser/sync/test/engine/fake_model_safe_worker_registrar.h',
3735 'browser/sync/test/engine/fake_model_worker.cc',
3736 'browser/sync/test/engine/fake_model_worker.h',
3737 'browser/sync/test/engine/mock_connection_manager.cc',
3738 'browser/sync/test/engine/mock_connection_manager.h',
3739 'browser/sync/test/engine/syncer_command_test.cc',
3740 'browser/sync/test/engine/syncer_command_test.h',
3741 'browser/sync/test/engine/test_id_factory.h',
3742 'browser/sync/test/engine/test_syncable_utils.cc',
3743 'browser/sync/test/engine/test_syncable_utils.h',
3744 'browser/sync/test/sessions/test_scoped_session_event_listener.h',
3745 'browser/sync/test/test_directory_backing_store.cc',
3746 'browser/sync/test/test_directory_backing_store.h',
3747 'browser/sync/util/cryptographer_unittest.cc',
3748 'browser/sync/util/data_encryption_unittest.cc',
3749 'browser/sync/util/data_type_histogram_unittest.cc',
3750 'browser/sync/util/enum_set_unittest.cc',
3751 'browser/sync/util/get_session_name_unittest.cc',
3752 'browser/sync/util/immutable_unittest.cc',
3753 'browser/sync/util/protobuf_unittest.cc',
3754 'browser/sync/util/weak_handle_unittest.cc',
3755 ], 3655 ],
3756 'include_dirs': [ 3656 'include_dirs': [
3757 '..', 3657 '..',
3758 '<(protoc_out_dir)',
3759 ],
3760 'defines' : [
3761 'SYNC_ENGINE_VERSION_STRING="Unknown"',
3762 '_CRT_SECURE_NO_WARNINGS',
3763 '_USE_32BIT_TIME_T',
3764 ], 3658 ],
3765 'dependencies': [ 3659 'dependencies': [
3766 '../sync/protocol/sync_proto.gyp:sync_proto', 3660 '../sync/sync.gyp:sync_tests',
3767 '../base/base.gyp:test_support_base', 3661 '../base/base.gyp:test_support_base',
3768 '../jingle/jingle.gyp:notifier_test_util', 3662 '../jingle/jingle.gyp:notifier_test_util',
3769 '../net/net.gyp:net', 3663 '../net/net.gyp:net',
3770 '../net/net.gyp:net_test_support', 3664 '../net/net.gyp:net_test_support',
3771 '../testing/gmock.gyp:gmock', 3665 '../testing/gmock.gyp:gmock',
3772 '../testing/gtest.gyp:gtest', 3666 '../testing/gtest.gyp:gtest',
3773 'syncapi_core', 3667 'syncapi_core',
3774 'sync_notifier', 3668 'sync_notifier',
3775 'test_support_sync',
3776 'test_support_syncapi', 3669 'test_support_syncapi',
3777 'test_support_syncapi_service', 3670 'test_support_syncapi_service',
3778 'test_support_sync_notifier', 3671 'test_support_sync_notifier',
3779 ], 3672 ],
3780 'conditions': [ 3673 'conditions': [
3781 ['OS=="win"', { 3674 ['OS=="linux" and linux_use_tcmalloc==1', {
tim (not reviewing) 2012/03/15 06:21:10 where did this come from?
akalin 2012/03/15 07:38:26 It's needed because of our use of histograms. I g
3782 'conditions': [
3783 ['win_use_allocator_shim==1', {
3784 'dependencies': [
3785 '<(allocator_target)',
3786 ],
3787 }],
3788 ],
3789 'link_settings': {
3790 'libraries': [
3791 '-lcrypt32.lib',
3792 '-lws2_32.lib',
3793 '-lsecur32.lib',
3794 ],
3795 },
3796 'configurations': {
3797 'Debug_Base': {
3798 'msvs_settings': {
3799 'VCLinkerTool': {
3800 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
3801 },
3802 },
3803 },
3804 },
3805 }, { # else: OS != "win"
3806 'sources!': [
3807 'browser/sync/util/data_encryption_unittest.cc',
3808 ],
3809 }],
3810 ['toolkit_uses_gtk == 1', {
3811 'dependencies': [ 3675 'dependencies': [
3812 '../build/linux/system.gyp:gtk', 3676 '../base/allocator/allocator.gyp:allocator',
3813 ],
3814 }],
3815 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)' , {
3816 'dependencies': [
3817 '../build/linux/system.gyp:ssl',
3818 ],
3819 }],
3820 ['OS=="linux" and chromeos==1', {
3821 'include_dirs': [
3822 '<(grit_out_dir)',
3823 ], 3677 ],
3824 }], 3678 }],
3825 ], 3679 ],
3826 }, 3680 },
3827 { 3681 {
3828 'target_name': 'sync_integration_tests', 3682 'target_name': 'sync_integration_tests',
3829 'type': 'executable', 3683 'type': 'executable',
3830 'dependencies': [ 3684 'dependencies': [
3831 'browser', 3685 'browser',
3832 '../sync/protocol/sync_proto.gyp:sync_proto', 3686 '../sync/protocol/sync_proto.gyp:sync_proto',
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after
4762 # Use outputs of this action as inputs for the main target build. 4616 # Use outputs of this action as inputs for the main target build.
4763 # Seems as a misnomer but makes this happy on Linux (scons). 4617 # Seems as a misnomer but makes this happy on Linux (scons).
4764 'process_outputs_as_sources': 1, 4618 'process_outputs_as_sources': 1,
4765 }, 4619 },
4766 ], # 'actions' 4620 ], # 'actions'
4767 }, 4621 },
4768 ] 4622 ]
4769 }], # 'coverage!=0' 4623 }], # 'coverage!=0'
4770 ], # 'conditions' 4624 ], # 'conditions'
4771 } 4625 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698