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

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

Issue 2289143003: [Sync] Convert DTCs to be not RefCounted and NonThreadSafe. (Closed)
Patch Set: Rebase, address comments, remove TestMessageLoop. Created 4 years, 3 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
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") {
11 sources = [ 11 sources = [
12 "api/attachments/attachment.cc", 12 "api/attachments/attachment.cc",
13 "api/attachments/attachment.h", 13 "api/attachments/attachment.h",
14 "api/attachments/attachment_id.cc", 14 "api/attachments/attachment_id.cc",
15 "api/attachments/attachment_id.h", 15 "api/attachments/attachment_id.h",
16 "api/attachments/attachment_metadata.cc", 16 "api/attachments/attachment_metadata.cc",
17 "api/attachments/attachment_metadata.h", 17 "api/attachments/attachment_metadata.h",
18 "api/attachments/attachment_store.cc", 18 "api/attachments/attachment_store.cc",
19 "api/attachments/attachment_store.h", 19 "api/attachments/attachment_store.h",
20 "api/attachments/attachment_store_backend.cc", 20 "api/attachments/attachment_store_backend.cc",
21 "api/attachments/attachment_store_backend.h", 21 "api/attachments/attachment_store_backend.h",
22 "api/conflict_resolution.cc", 22 "api/conflict_resolution.cc",
23 "api/conflict_resolution.h", 23 "api/conflict_resolution.h",
24 "api/data_batch.h", 24 "api/data_batch.h",
25 "api/data_type_error_handler.h",
26 "api/data_type_error_handler_impl.cc",
27 "api/data_type_error_handler_impl.h",
25 "api/entity_change.cc", 28 "api/entity_change.cc",
26 "api/entity_change.h", 29 "api/entity_change.h",
27 "api/entity_data.cc", 30 "api/entity_data.cc",
28 "api/entity_data.h", 31 "api/entity_data.h",
29 "api/metadata_batch.cc", 32 "api/metadata_batch.cc",
30 "api/metadata_batch.h", 33 "api/metadata_batch.h",
31 "api/metadata_change_list.h", 34 "api/metadata_change_list.h",
32 "api/model_type_change_processor.cc", 35 "api/model_type_change_processor.cc",
33 "api/model_type_change_processor.h", 36 "api/model_type_change_processor.h",
34 "api/model_type_service.cc", 37 "api/model_type_service.cc",
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 "core/base_transaction.h", 131 "core/base_transaction.h",
129 "core/change_record.cc", 132 "core/change_record.cc",
130 "core/change_record.h", 133 "core/change_record.h",
131 "core/configure_reason.h", 134 "core/configure_reason.h",
132 "core/data_batch_impl.cc", 135 "core/data_batch_impl.cc",
133 "core/data_batch_impl.h", 136 "core/data_batch_impl.h",
134 "core/data_type_association_stats.cc", 137 "core/data_type_association_stats.cc",
135 "core/data_type_association_stats.h", 138 "core/data_type_association_stats.h",
136 "core/data_type_debug_info_listener.cc", 139 "core/data_type_debug_info_listener.cc",
137 "core/data_type_debug_info_listener.h", 140 "core/data_type_debug_info_listener.h",
138 "core/data_type_error_handler.h",
139 "core/delete_journal.cc", 141 "core/delete_journal.cc",
140 "core/delete_journal.h", 142 "core/delete_journal.h",
141 "core/http_bridge.cc", 143 "core/http_bridge.cc",
142 "core/http_bridge.h", 144 "core/http_bridge.h",
143 "core/http_bridge_network_resources.cc", 145 "core/http_bridge_network_resources.cc",
144 "core/http_bridge_network_resources.h", 146 "core/http_bridge_network_resources.h",
145 "core/http_post_provider_factory.h", 147 "core/http_post_provider_factory.h",
146 "core/http_post_provider_interface.h", 148 "core/http_post_provider_interface.h",
147 "core/internal_components_factory.h", 149 "core/internal_components_factory.h",
148 "core/internal_components_factory_impl.cc", 150 "core/internal_components_factory_impl.cc",
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 "//testing/gtest", 666 "//testing/gtest",
665 ] 667 ]
666 668
667 defines = [ "SYNC_TEST" ] 669 defines = [ "SYNC_TEST" ]
668 configs += [ "//build/config/compiler:wexit_time_destructors" ] 670 configs += [ "//build/config/compiler:wexit_time_destructors" ]
669 } 671 }
670 672
671 static_library("test_support_sync_core_impl") { 673 static_library("test_support_sync_core_impl") {
672 testonly = true 674 testonly = true
673 sources = [ 675 sources = [
674 "core/test/data_type_error_handler_mock.h", 676 "api/data_type_error_handler_mock.cc",
677 "api/data_type_error_handler_mock.h",
675 "core/test/fake_model_type_connector.h", 678 "core/test/fake_model_type_connector.h",
676 "core/test/fake_model_type_processor.h", 679 "core/test/fake_model_type_processor.h",
677 "core/test/fake_sync_manager.h", 680 "core/test/fake_sync_manager.h",
678 "core/test/model_type_store_test_util.h", 681 "core/test/model_type_store_test_util.h",
679 "core/test/sync_manager_factory_for_profile_sync_test.h", 682 "core/test/sync_manager_factory_for_profile_sync_test.h",
680 "core/test/test_entry_factory.h", 683 "core/test/test_entry_factory.h",
681 "core/test/test_internal_components_factory.h", 684 "core/test/test_internal_components_factory.h",
682 "core/test/test_user_share.h", 685 "core/test/test_user_share.h",
683 "core_impl/test/data_type_error_handler_mock.cc",
684 "core_impl/test/fake_model_type_connector.cc", 686 "core_impl/test/fake_model_type_connector.cc",
685 "core_impl/test/fake_model_type_processor.cc", 687 "core_impl/test/fake_model_type_processor.cc",
686 "core_impl/test/fake_sync_manager.cc", 688 "core_impl/test/fake_sync_manager.cc",
687 "core_impl/test/model_type_store_test_util.cc", 689 "core_impl/test/model_type_store_test_util.cc",
688 "core_impl/test/sync_manager_factory_for_profile_sync_test.cc", 690 "core_impl/test/sync_manager_factory_for_profile_sync_test.cc",
689 "core_impl/test/sync_manager_for_profile_sync_test.cc", 691 "core_impl/test/sync_manager_for_profile_sync_test.cc",
690 "core_impl/test/sync_manager_for_profile_sync_test.h", 692 "core_impl/test/sync_manager_for_profile_sync_test.h",
691 "core_impl/test/test_entry_factory.cc", 693 "core_impl/test/test_entry_factory.cc",
692 "core_impl/test/test_internal_components_factory.cc", 694 "core_impl/test/test_internal_components_factory.cc",
693 "core_impl/test/test_user_share.cc", 695 "core_impl/test/test_user_share.cc",
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1096 deps = [ 1098 deps = [
1097 ":fake_server_jni", 1099 ":fake_server_jni",
1098 ":sync", 1100 ":sync",
1099 ":test_support_sync_fake_server", 1101 ":test_support_sync_fake_server",
1100 "//base", 1102 "//base",
1101 "//testing/gtest", 1103 "//testing/gtest",
1102 "//url:url", 1104 "//url:url",
1103 ] 1105 ]
1104 } 1106 }
1105 } 1107 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698