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

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

Issue 2289143003: [Sync] Convert DTCs to be not RefCounted and NonThreadSafe. (Closed)
Patch Set: Rebase. 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 "//testing/gtest", 665 "//testing/gtest",
664 ] 666 ]
665 667
666 defines = [ "SYNC_TEST" ] 668 defines = [ "SYNC_TEST" ]
667 configs += [ "//build/config/compiler:wexit_time_destructors" ] 669 configs += [ "//build/config/compiler:wexit_time_destructors" ]
668 } 670 }
669 671
670 static_library("test_support_sync_core_impl") { 672 static_library("test_support_sync_core_impl") {
671 testonly = true 673 testonly = true
672 sources = [ 674 sources = [
673 "core/test/data_type_error_handler_mock.h", 675 "api/data_type_error_handler_mock.cc",
676 "api/data_type_error_handler_mock.h",
674 "core/test/fake_model_type_connector.h", 677 "core/test/fake_model_type_connector.h",
675 "core/test/fake_model_type_processor.h", 678 "core/test/fake_model_type_processor.h",
676 "core/test/fake_sync_manager.h", 679 "core/test/fake_sync_manager.h",
677 "core/test/model_type_store_test_util.h", 680 "core/test/model_type_store_test_util.h",
678 "core/test/sync_manager_factory_for_profile_sync_test.h", 681 "core/test/sync_manager_factory_for_profile_sync_test.h",
679 "core/test/test_entry_factory.h", 682 "core/test/test_entry_factory.h",
680 "core/test/test_internal_components_factory.h", 683 "core/test/test_internal_components_factory.h",
681 "core/test/test_user_share.h", 684 "core/test/test_user_share.h",
682 "core_impl/test/data_type_error_handler_mock.cc",
683 "core_impl/test/fake_model_type_connector.cc", 685 "core_impl/test/fake_model_type_connector.cc",
684 "core_impl/test/fake_model_type_processor.cc", 686 "core_impl/test/fake_model_type_processor.cc",
685 "core_impl/test/fake_sync_manager.cc", 687 "core_impl/test/fake_sync_manager.cc",
686 "core_impl/test/model_type_store_test_util.cc", 688 "core_impl/test/model_type_store_test_util.cc",
687 "core_impl/test/sync_manager_factory_for_profile_sync_test.cc", 689 "core_impl/test/sync_manager_factory_for_profile_sync_test.cc",
688 "core_impl/test/sync_manager_for_profile_sync_test.cc", 690 "core_impl/test/sync_manager_for_profile_sync_test.cc",
689 "core_impl/test/sync_manager_for_profile_sync_test.h", 691 "core_impl/test/sync_manager_for_profile_sync_test.h",
690 "core_impl/test/test_entry_factory.cc", 692 "core_impl/test/test_entry_factory.cc",
691 "core_impl/test/test_internal_components_factory.cc", 693 "core_impl/test/test_internal_components_factory.cc",
692 "core_impl/test/test_user_share.cc", 694 "core_impl/test/test_user_share.cc",
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 deps = [ 1100 deps = [
1099 ":fake_server_jni", 1101 ":fake_server_jni",
1100 ":sync", 1102 ":sync",
1101 ":test_support_sync_fake_server", 1103 ":test_support_sync_fake_server",
1102 "//base", 1104 "//base",
1103 "//testing/gtest", 1105 "//testing/gtest",
1104 "//url:url", 1106 "//url:url",
1105 ] 1107 ]
1106 } 1108 }
1107 } 1109 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698