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

Side by Side Diff: components/sync/BUILD.gn

Issue 2416823003: [Sync] Move some things from core/ to model(_impl)/. (Closed)
Patch Set: Rebase. Created 4 years, 2 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
« no previous file with comments | « no previous file | components/sync/core/data_batch_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//components/sync/protocol/protocol_sources.gni") 7 import("//components/sync/protocol/protocol_sources.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 9
10 static_library("sync") { 10 static_library("sync") {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 "base/unique_position.cc", 72 "base/unique_position.cc",
73 "base/unique_position.h", 73 "base/unique_position.h",
74 "base/unrecoverable_error_handler.h", 74 "base/unrecoverable_error_handler.h",
75 "base/unrecoverable_error_info.cc", 75 "base/unrecoverable_error_info.cc",
76 "base/unrecoverable_error_info.h", 76 "base/unrecoverable_error_info.h",
77 "base/weak_handle.cc", 77 "base/weak_handle.cc",
78 "base/weak_handle.h", 78 "base/weak_handle.h",
79 "core/activation_context.cc", 79 "core/activation_context.cc",
80 "core/activation_context.h", 80 "core/activation_context.h",
81 "core/configure_reason.h", 81 "core/configure_reason.h",
82 "core/data_batch_impl.cc",
83 "core/data_batch_impl.h",
84 "core/data_type_association_stats.cc", 82 "core/data_type_association_stats.cc",
85 "core/data_type_association_stats.h", 83 "core/data_type_association_stats.h",
86 "core/data_type_debug_info_listener.cc", 84 "core/data_type_debug_info_listener.cc",
87 "core/data_type_debug_info_listener.h", 85 "core/data_type_debug_info_listener.h",
88 "core/internal_components_factory.h", 86 "core/internal_components_factory.h",
89 "core/internal_components_factory_impl.cc", 87 "core/internal_components_factory_impl.cc",
90 "core/internal_components_factory_impl.h", 88 "core/internal_components_factory_impl.h",
91 "core/model_type_connector.cc", 89 "core/model_type_connector.cc",
92 "core/model_type_connector.h", 90 "core/model_type_connector.h",
93 "core/model_type_processor.cc", 91 "core/model_type_processor.cc",
94 "core/model_type_processor.h", 92 "core/model_type_processor.h",
95 "core/model_type_processor_proxy.cc", 93 "core/model_type_processor_proxy.cc",
96 "core/model_type_processor_proxy.h", 94 "core/model_type_processor_proxy.h",
97 "core/model_type_store_backend.cc",
98 "core/model_type_store_backend.h",
99 "core/model_type_store_impl.cc",
100 "core/model_type_store_impl.h",
101 "core/non_blocking_sync_common.cc", 95 "core/non_blocking_sync_common.cc",
102 "core/non_blocking_sync_common.h", 96 "core/non_blocking_sync_common.h",
103 "core/shutdown_reason.h", 97 "core/shutdown_reason.h",
104 "core/simple_metadata_change_list.cc",
105 "core/simple_metadata_change_list.h",
106 "core/sync_auth_provider.h", 98 "core/sync_auth_provider.h",
107 "core/sync_db_util.cc", 99 "core/sync_db_util.cc",
108 "core/sync_encryption_handler.cc", 100 "core/sync_encryption_handler.cc",
109 "core/sync_encryption_handler.h", 101 "core/sync_encryption_handler.h",
110 "core/sync_manager.cc", 102 "core/sync_manager.cc",
111 "core/sync_manager.h", 103 "core/sync_manager.h",
112 "core/sync_manager_factory.cc", 104 "core/sync_manager_factory.cc",
113 "core/sync_manager_factory.h", 105 "core/sync_manager_factory.h",
114 "core_impl/debug_info_event_listener.cc", 106 "core_impl/debug_info_event_listener.cc",
115 "core_impl/debug_info_event_listener.h", 107 "core_impl/debug_info_event_listener.h",
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 "model/metadata_batch.h", 413 "model/metadata_batch.h",
422 "model/metadata_change_list.h", 414 "model/metadata_change_list.h",
423 "model/model_type_change_processor.cc", 415 "model/model_type_change_processor.cc",
424 "model/model_type_change_processor.h", 416 "model/model_type_change_processor.h",
425 "model/model_type_debug_info.cc", 417 "model/model_type_debug_info.cc",
426 "model/model_type_debug_info.h", 418 "model/model_type_debug_info.h",
427 "model/model_type_service.cc", 419 "model/model_type_service.cc",
428 "model/model_type_service.h", 420 "model/model_type_service.h",
429 "model/model_type_store.cc", 421 "model/model_type_store.cc",
430 "model/model_type_store.h", 422 "model/model_type_store.h",
423 "model/mutable_data_batch.cc",
424 "model/mutable_data_batch.h",
425 "model/simple_metadata_change_list.cc",
426 "model/simple_metadata_change_list.h",
431 "model/string_ordinal.h", 427 "model/string_ordinal.h",
432 "model/sync_change.cc", 428 "model/sync_change.cc",
433 "model/sync_change.h", 429 "model/sync_change.h",
434 "model/sync_change_processor.cc", 430 "model/sync_change_processor.cc",
435 "model/sync_change_processor.h", 431 "model/sync_change_processor.h",
436 "model/sync_data.cc", 432 "model/sync_data.cc",
437 "model/sync_data.h", 433 "model/sync_data.h",
438 "model/sync_error.cc", 434 "model/sync_error.cc",
439 "model/sync_error.h", 435 "model/sync_error.h",
440 "model/sync_error_factory.cc", 436 "model/sync_error_factory.cc",
441 "model/sync_error_factory.h", 437 "model/sync_error_factory.h",
442 "model/sync_merge_result.cc", 438 "model/sync_merge_result.cc",
443 "model/sync_merge_result.h", 439 "model/sync_merge_result.h",
444 "model/syncable_service.cc", 440 "model/syncable_service.cc",
445 "model/syncable_service.h", 441 "model/syncable_service.h",
446 "model/time.h", 442 "model/time.h",
447 "model_impl/attachments/attachment_service_impl.cc", 443 "model_impl/attachments/attachment_service_impl.cc",
448 "model_impl/attachments/attachment_service_impl.h", 444 "model_impl/attachments/attachment_service_impl.h",
449 "model_impl/attachments/task_queue.h", 445 "model_impl/attachments/task_queue.h",
446 "model_impl/model_type_store_backend.cc",
447 "model_impl/model_type_store_backend.h",
448 "model_impl/model_type_store_impl.cc",
449 "model_impl/model_type_store_impl.h",
450 "model_impl/processor_entity_tracker.cc", 450 "model_impl/processor_entity_tracker.cc",
451 "model_impl/processor_entity_tracker.h", 451 "model_impl/processor_entity_tracker.h",
452 "model_impl/shared_model_type_processor.cc", 452 "model_impl/shared_model_type_processor.cc",
453 "model_impl/shared_model_type_processor.h", 453 "model_impl/shared_model_type_processor.h",
454 "protocol/proto_enum_conversions.cc", 454 "protocol/proto_enum_conversions.cc",
455 "protocol/proto_enum_conversions.h", 455 "protocol/proto_enum_conversions.h",
456 "protocol/proto_value_conversions.cc", 456 "protocol/proto_value_conversions.cc",
457 "protocol/proto_value_conversions.h", 457 "protocol/proto_value_conversions.h",
458 "protocol/sync_protocol_error.cc", 458 "protocol/sync_protocol_error.cc",
459 "protocol/sync_protocol_error.h", 459 "protocol/sync_protocol_error.h",
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 defines = [ "SYNC_TEST" ] 669 defines = [ "SYNC_TEST" ]
670 configs += [ "//build/config/compiler:wexit_time_destructors" ] 670 configs += [ "//build/config/compiler:wexit_time_destructors" ]
671 } 671 }
672 672
673 static_library("test_support_sync_core_impl") { 673 static_library("test_support_sync_core_impl") {
674 testonly = true 674 testonly = true
675 sources = [ 675 sources = [
676 "core/test/fake_model_type_connector.h", 676 "core/test/fake_model_type_connector.h",
677 "core/test/fake_model_type_processor.h", 677 "core/test/fake_model_type_processor.h",
678 "core/test/fake_sync_manager.h", 678 "core/test/fake_sync_manager.h",
679 "core/test/model_type_store_test_util.h",
680 "core/test/sync_manager_factory_for_profile_sync_test.h", 679 "core/test/sync_manager_factory_for_profile_sync_test.h",
681 "core/test/test_entry_factory.h", 680 "core/test/test_entry_factory.h",
682 "core/test/test_internal_components_factory.h", 681 "core/test/test_internal_components_factory.h",
683 "core_impl/test/fake_model_type_connector.cc", 682 "core_impl/test/fake_model_type_connector.cc",
684 "core_impl/test/fake_model_type_processor.cc", 683 "core_impl/test/fake_model_type_processor.cc",
685 "core_impl/test/fake_sync_manager.cc", 684 "core_impl/test/fake_sync_manager.cc",
686 "core_impl/test/model_type_store_test_util.cc",
687 "core_impl/test/sync_manager_factory_for_profile_sync_test.cc", 685 "core_impl/test/sync_manager_factory_for_profile_sync_test.cc",
688 "core_impl/test/sync_manager_for_profile_sync_test.cc", 686 "core_impl/test/sync_manager_for_profile_sync_test.cc",
689 "core_impl/test/sync_manager_for_profile_sync_test.h", 687 "core_impl/test/sync_manager_for_profile_sync_test.h",
690 "core_impl/test/test_entry_factory.cc", 688 "core_impl/test/test_entry_factory.cc",
691 "core_impl/test/test_internal_components_factory.cc", 689 "core_impl/test/test_internal_components_factory.cc",
692 "model/data_type_error_handler_mock.cc", 690 "model/data_type_error_handler_mock.cc",
693 "model/data_type_error_handler_mock.h", 691 "model/data_type_error_handler_mock.h",
692 "model/model_type_store_test_util.cc",
693 "model/model_type_store_test_util.h",
694 "syncable/test_user_share.cc", 694 "syncable/test_user_share.cc",
695 "syncable/test_user_share.h", 695 "syncable/test_user_share.h",
696 ] 696 ]
697 697
698 public_deps = [ 698 public_deps = [
699 ":test_support_sync_core", 699 ":test_support_sync_core",
700 "//base", 700 "//base",
701 "//components/sync", 701 "//components/sync",
702 "//testing/gtest", 702 "//testing/gtest",
703 ] 703 ]
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 "base/immutable_unittest.cc", 796 "base/immutable_unittest.cc",
797 "base/nigori_unittest.cc", 797 "base/nigori_unittest.cc",
798 "base/node_ordinal_unittest.cc", 798 "base/node_ordinal_unittest.cc",
799 "base/ordinal_unittest.cc", 799 "base/ordinal_unittest.cc",
800 "base/proto_value_ptr_unittest.cc", 800 "base/proto_value_ptr_unittest.cc",
801 "base/protobuf_unittest.cc", 801 "base/protobuf_unittest.cc",
802 "base/sync_prefs_unittest.cc", 802 "base/sync_prefs_unittest.cc",
803 "base/system_encryptor_unittest.cc", 803 "base/system_encryptor_unittest.cc",
804 "base/unique_position_unittest.cc", 804 "base/unique_position_unittest.cc",
805 "base/weak_handle_unittest.cc", 805 "base/weak_handle_unittest.cc",
806 "core/data_batch_impl_unittest.cc",
807 "core/model_type_store_backend_unittest.cc",
808 "core/model_type_store_impl_unittest.cc",
809 "core/simple_metadata_change_list_unittest.cc",
810 "core_impl/debug_info_event_listener_unittest.cc", 806 "core_impl/debug_info_event_listener_unittest.cc",
811 "core_impl/js_mutation_event_observer_unittest.cc", 807 "core_impl/js_mutation_event_observer_unittest.cc",
812 "core_impl/js_sync_encryption_handler_observer_unittest.cc", 808 "core_impl/js_sync_encryption_handler_observer_unittest.cc",
813 "core_impl/js_sync_manager_observer_unittest.cc", 809 "core_impl/js_sync_manager_observer_unittest.cc",
814 "core_impl/protocol_event_buffer_unittest.cc", 810 "core_impl/protocol_event_buffer_unittest.cc",
815 "core_impl/sync_encryption_handler_impl_unittest.cc", 811 "core_impl/sync_encryption_handler_impl_unittest.cc",
816 "core_impl/sync_manager_impl_unittest.cc", 812 "core_impl/sync_manager_impl_unittest.cc",
817 "device_info/device_count_metrics_provider_unittest.cc", 813 "device_info/device_count_metrics_provider_unittest.cc",
818 "device_info/device_info_data_type_controller_unittest.cc", 814 "device_info/device_info_data_type_controller_unittest.cc",
819 "device_info/device_info_service_unittest.cc", 815 "device_info/device_info_service_unittest.cc",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 "engine_impl/syncer_util_unittest.cc", 860 "engine_impl/syncer_util_unittest.cc",
865 "engine_impl/worker_entity_tracker_unittest.cc", 861 "engine_impl/worker_entity_tracker_unittest.cc",
866 "js/js_event_details_unittest.cc", 862 "js/js_event_details_unittest.cc",
867 "js/sync_js_controller_unittest.cc", 863 "js/sync_js_controller_unittest.cc",
868 "model/attachments/attachment_id_unittest.cc", 864 "model/attachments/attachment_id_unittest.cc",
869 "model/attachments/attachment_metadata_unittest.cc", 865 "model/attachments/attachment_metadata_unittest.cc",
870 "model/attachments/attachment_service_proxy_unittest.cc", 866 "model/attachments/attachment_service_proxy_unittest.cc",
871 "model/attachments/attachment_unittest.cc", 867 "model/attachments/attachment_unittest.cc",
872 "model/entity_data_unittest.cc", 868 "model/entity_data_unittest.cc",
873 "model/model_type_service_unittest.cc", 869 "model/model_type_service_unittest.cc",
870 "model/mutable_data_batch_unittest.cc",
871 "model/simple_metadata_change_list_unittest.cc",
874 "model/sync_change_unittest.cc", 872 "model/sync_change_unittest.cc",
875 "model/sync_data_unittest.cc", 873 "model/sync_data_unittest.cc",
876 "model/sync_error_unittest.cc", 874 "model/sync_error_unittest.cc",
877 "model/sync_merge_result_unittest.cc", 875 "model/sync_merge_result_unittest.cc",
878 "model_impl/attachments/attachment_service_impl_unittest.cc", 876 "model_impl/attachments/attachment_service_impl_unittest.cc",
879 "model_impl/attachments/task_queue_unittest.cc", 877 "model_impl/attachments/task_queue_unittest.cc",
878 "model_impl/model_type_store_backend_unittest.cc",
879 "model_impl/model_type_store_impl_unittest.cc",
880 "model_impl/processor_entity_tracker_unittest.cc", 880 "model_impl/processor_entity_tracker_unittest.cc",
881 "model_impl/shared_model_type_processor_unittest.cc", 881 "model_impl/shared_model_type_processor_unittest.cc",
882 "protocol/proto_enum_conversions_unittest.cc", 882 "protocol/proto_enum_conversions_unittest.cc",
883 "protocol/proto_value_conversions_unittest.cc", 883 "protocol/proto_value_conversions_unittest.cc",
884 "syncable/change_record_unittest.cc", 884 "syncable/change_record_unittest.cc",
885 "syncable/directory_backing_store_unittest.cc", 885 "syncable/directory_backing_store_unittest.cc",
886 "syncable/directory_unittest.cc", 886 "syncable/directory_unittest.cc",
887 "syncable/directory_unittest.h", 887 "syncable/directory_unittest.h",
888 "syncable/entry_kernel_unittest.cc", 888 "syncable/entry_kernel_unittest.cc",
889 "syncable/model_type_unittest.cc", 889 "syncable/model_type_unittest.cc",
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 deps = [ 1092 deps = [
1093 ":fake_server_jni", 1093 ":fake_server_jni",
1094 ":sync", 1094 ":sync",
1095 ":test_support_sync_fake_server", 1095 ":test_support_sync_fake_server",
1096 "//base", 1096 "//base",
1097 "//testing/gtest", 1097 "//testing/gtest",
1098 "//url:url", 1098 "//url:url",
1099 ] 1099 ]
1100 } 1100 }
1101 } 1101 }
OLDNEW
« no previous file with comments | « no previous file | components/sync/core/data_batch_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698