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

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

Issue 2909283003: [Sync] Split UserEventService into interface and impl, add fake impl, add unit tests. (Closed)
Patch Set: Added a NoOp service to handle OffTheRecord. Created 3 years, 6 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") {
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 "syncable/syncable_write_transaction.h", 565 "syncable/syncable_write_transaction.h",
566 "syncable/transaction_observer.h", 566 "syncable/transaction_observer.h",
567 "syncable/user_share.cc", 567 "syncable/user_share.cc",
568 "syncable/user_share.h", 568 "syncable/user_share.h",
569 "syncable/write_node.cc", 569 "syncable/write_node.cc",
570 "syncable/write_node.h", 570 "syncable/write_node.h",
571 "syncable/write_transaction.cc", 571 "syncable/write_transaction.cc",
572 "syncable/write_transaction.h", 572 "syncable/write_transaction.h",
573 "syncable/write_transaction_info.cc", 573 "syncable/write_transaction_info.cc",
574 "syncable/write_transaction_info.h", 574 "syncable/write_transaction_info.h",
575 "user_events/fake_user_event_service.cc",
576 "user_events/fake_user_event_service.h",
577 "user_events/no_op_user_event_service.cc",
578 "user_events/no_op_user_event_service.h",
575 "user_events/user_event_service.cc", 579 "user_events/user_event_service.cc",
576 "user_events/user_event_service.h", 580 "user_events/user_event_service.h",
581 "user_events/user_event_service_impl.cc",
582 "user_events/user_event_service_impl.h",
577 "user_events/user_event_sync_bridge.cc", 583 "user_events/user_event_sync_bridge.cc",
578 "user_events/user_event_sync_bridge.h", 584 "user_events/user_event_sync_bridge.h",
579 ] 585 ]
580 586
581 configs += [ "//build/config:precompiled_headers" ] 587 configs += [ "//build/config:precompiled_headers" ]
582 588
583 public_deps = [ 589 public_deps = [
584 "//base", 590 "//base",
585 "//components/sync/protocol", 591 "//components/sync/protocol",
586 "//net", 592 "//net",
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 "syncable/directory_unittest.cc", 944 "syncable/directory_unittest.cc",
939 "syncable/directory_unittest.h", 945 "syncable/directory_unittest.h",
940 "syncable/entry_kernel_unittest.cc", 946 "syncable/entry_kernel_unittest.cc",
941 "syncable/model_type_unittest.cc", 947 "syncable/model_type_unittest.cc",
942 "syncable/nigori_util_unittest.cc", 948 "syncable/nigori_util_unittest.cc",
943 "syncable/parent_child_index_unittest.cc", 949 "syncable/parent_child_index_unittest.cc",
944 "syncable/syncable_delete_journal_unittest.cc", 950 "syncable/syncable_delete_journal_unittest.cc",
945 "syncable/syncable_enum_conversions_unittest.cc", 951 "syncable/syncable_enum_conversions_unittest.cc",
946 "syncable/syncable_id_unittest.cc", 952 "syncable/syncable_id_unittest.cc",
947 "syncable/syncable_unittest.cc", 953 "syncable/syncable_unittest.cc",
948 "user_events/user_event_service_unittest.cc", 954 "user_events/user_event_service_impl_unittest.cc",
949 "user_events/user_event_sync_bridge_unittest.cc", 955 "user_events/user_event_sync_bridge_unittest.cc",
950 ] 956 ]
951 957
952 configs += [ "//build/config:precompiled_headers" ] 958 configs += [ "//build/config:precompiled_headers" ]
953 959
954 data = [ 960 data = [
955 "//chrome/test/data/sync/", 961 "//chrome/test/data/sync/",
956 "//net/tools/testserver/", 962 "//net/tools/testserver/",
957 "//third_party/pyftpdlib/", 963 "//third_party/pyftpdlib/",
958 "//third_party/pywebsocket/", 964 "//third_party/pywebsocket/",
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 deps = [ 1156 deps = [
1151 ":fake_server_jni", 1157 ":fake_server_jni",
1152 ":sync", 1158 ":sync",
1153 ":test_support_fake_server", 1159 ":test_support_fake_server",
1154 "//base", 1160 "//base",
1155 "//testing/gtest", 1161 "//testing/gtest",
1156 "//url:url", 1162 "//url:url",
1157 ] 1163 ]
1158 } 1164 }
1159 } 1165 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698