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

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

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. 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 | « components/search_engines/template_url_service.cc ('k') | components/sync/api/DEPS » ('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") {
11 sources = [ 11 sources = [
12 "api/attachments/attachment.cc",
13 "api/attachments/attachment.h",
14 "api/attachments/attachment_id.cc",
15 "api/attachments/attachment_id.h",
16 "api/attachments/attachment_metadata.cc",
17 "api/attachments/attachment_metadata.h",
18 "api/attachments/attachment_service.cc",
19 "api/attachments/attachment_service.h",
20 "api/attachments/attachment_service_proxy.cc",
21 "api/attachments/attachment_service_proxy.h",
22 "api/attachments/attachment_service_proxy_for_test.cc",
23 "api/attachments/attachment_service_proxy_for_test.h",
24 "api/attachments/attachment_store.cc",
25 "api/attachments/attachment_store.h",
26 "api/conflict_resolution.cc",
27 "api/conflict_resolution.h",
28 "api/data_batch.h",
29 "api/data_type_error_handler.h",
30 "api/data_type_error_handler_impl.cc",
31 "api/data_type_error_handler_impl.h",
32 "api/entity_change.cc",
33 "api/entity_change.h",
34 "api/entity_data.cc",
35 "api/entity_data.h",
36 "api/local_change_observer.h",
37 "api/metadata_batch.cc",
38 "api/metadata_batch.h",
39 "api/metadata_change_list.h",
40 "api/model_type_change_processor.cc",
41 "api/model_type_change_processor.h",
42 "api/model_type_service.cc",
43 "api/model_type_service.h",
44 "api/model_type_store.cc",
45 "api/model_type_store.h",
46 "api/string_ordinal.h",
47 "api/sync_change.cc",
48 "api/sync_change.h",
49 "api/sync_change_processor.cc",
50 "api/sync_change_processor.h",
51 "api/sync_data.cc",
52 "api/sync_data.h",
53 "api/sync_error.cc",
54 "api/sync_error.h",
55 "api/sync_error_factory.cc",
56 "api/sync_error_factory.h",
57 "api/sync_merge_result.cc",
58 "api/sync_merge_result.h",
59 "api/syncable_service.cc",
60 "api/syncable_service.h",
61 "api/time.h",
62 "api_impl/attachments/attachment_service_impl.cc",
63 "api_impl/attachments/attachment_service_impl.h",
64 "api_impl/attachments/task_queue.h",
65 "base/attachment_id_proto.cc", 12 "base/attachment_id_proto.cc",
66 "base/attachment_id_proto.h", 13 "base/attachment_id_proto.h",
67 "base/bind_to_task_runner.h", 14 "base/bind_to_task_runner.h",
68 "base/cancelation_observer.cc", 15 "base/cancelation_observer.cc",
69 "base/cancelation_observer.h", 16 "base/cancelation_observer.h",
70 "base/cancelation_signal.cc", 17 "base/cancelation_signal.cc",
71 "base/cancelation_signal.h", 18 "base/cancelation_signal.h",
72 "base/cryptographer.cc", 19 "base/cryptographer.cc",
73 "base/cryptographer.h", 20 "base/cryptographer.h",
74 "base/data_type_histogram.cc", 21 "base/data_type_histogram.cc",
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 "engine_impl/update_handler.h", 409 "engine_impl/update_handler.h",
463 "engine_impl/worker_entity_tracker.cc", 410 "engine_impl/worker_entity_tracker.cc",
464 "engine_impl/worker_entity_tracker.h", 411 "engine_impl/worker_entity_tracker.h",
465 "js/js_backend.h", 412 "js/js_backend.h",
466 "js/js_controller.h", 413 "js/js_controller.h",
467 "js/js_event_details.cc", 414 "js/js_event_details.cc",
468 "js/js_event_details.h", 415 "js/js_event_details.h",
469 "js/js_event_handler.h", 416 "js/js_event_handler.h",
470 "js/sync_js_controller.cc", 417 "js/sync_js_controller.cc",
471 "js/sync_js_controller.h", 418 "js/sync_js_controller.h",
419 "model/attachments/attachment.cc",
420 "model/attachments/attachment.h",
421 "model/attachments/attachment_id.cc",
422 "model/attachments/attachment_id.h",
423 "model/attachments/attachment_metadata.cc",
424 "model/attachments/attachment_metadata.h",
425 "model/attachments/attachment_service.cc",
426 "model/attachments/attachment_service.h",
427 "model/attachments/attachment_service_proxy.cc",
428 "model/attachments/attachment_service_proxy.h",
429 "model/attachments/attachment_service_proxy_for_test.cc",
430 "model/attachments/attachment_service_proxy_for_test.h",
431 "model/attachments/attachment_store.cc",
432 "model/attachments/attachment_store.h",
433 "model/conflict_resolution.cc",
434 "model/conflict_resolution.h",
435 "model/data_batch.h",
436 "model/data_type_error_handler.h",
437 "model/data_type_error_handler_impl.cc",
438 "model/data_type_error_handler_impl.h",
439 "model/entity_change.cc",
440 "model/entity_change.h",
441 "model/entity_data.cc",
442 "model/entity_data.h",
443 "model/local_change_observer.h",
444 "model/metadata_batch.cc",
445 "model/metadata_batch.h",
446 "model/metadata_change_list.h",
447 "model/model_type_change_processor.cc",
448 "model/model_type_change_processor.h",
449 "model/model_type_service.cc",
450 "model/model_type_service.h",
451 "model/model_type_store.cc",
452 "model/model_type_store.h",
453 "model/string_ordinal.h",
454 "model/sync_change.cc",
455 "model/sync_change.h",
456 "model/sync_change_processor.cc",
457 "model/sync_change_processor.h",
458 "model/sync_data.cc",
459 "model/sync_data.h",
460 "model/sync_error.cc",
461 "model/sync_error.h",
462 "model/sync_error_factory.cc",
463 "model/sync_error_factory.h",
464 "model/sync_merge_result.cc",
465 "model/sync_merge_result.h",
466 "model/syncable_service.cc",
467 "model/syncable_service.h",
468 "model/time.h",
469 "model_impl/attachments/attachment_service_impl.cc",
470 "model_impl/attachments/attachment_service_impl.h",
471 "model_impl/attachments/task_queue.h",
472 "protocol/proto_enum_conversions.cc", 472 "protocol/proto_enum_conversions.cc",
473 "protocol/proto_enum_conversions.h", 473 "protocol/proto_enum_conversions.h",
474 "protocol/proto_value_conversions.cc", 474 "protocol/proto_value_conversions.cc",
475 "protocol/proto_value_conversions.h", 475 "protocol/proto_value_conversions.h",
476 "protocol/sync_protocol_error.cc", 476 "protocol/sync_protocol_error.cc",
477 "protocol/sync_protocol_error.h", 477 "protocol/sync_protocol_error.h",
478 "syncable/dir_open_result.h", 478 "syncable/dir_open_result.h",
479 "syncable/directory.cc", 479 "syncable/directory.cc",
480 "syncable/directory.h", 480 "syncable/directory.h",
481 "syncable/directory_backing_store.cc", 481 "syncable/directory_backing_store.cc",
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 "//testing/gtest", 664 "//testing/gtest",
665 ] 665 ]
666 666
667 defines = [ "SYNC_TEST" ] 667 defines = [ "SYNC_TEST" ]
668 configs += [ "//build/config/compiler:wexit_time_destructors" ] 668 configs += [ "//build/config/compiler:wexit_time_destructors" ]
669 } 669 }
670 670
671 static_library("test_support_sync_core_impl") { 671 static_library("test_support_sync_core_impl") {
672 testonly = true 672 testonly = true
673 sources = [ 673 sources = [
674 "api/data_type_error_handler_mock.cc",
675 "api/data_type_error_handler_mock.h",
676 "core/test/fake_model_type_connector.h", 674 "core/test/fake_model_type_connector.h",
677 "core/test/fake_model_type_processor.h", 675 "core/test/fake_model_type_processor.h",
678 "core/test/fake_sync_manager.h", 676 "core/test/fake_sync_manager.h",
679 "core/test/model_type_store_test_util.h", 677 "core/test/model_type_store_test_util.h",
680 "core/test/sync_manager_factory_for_profile_sync_test.h", 678 "core/test/sync_manager_factory_for_profile_sync_test.h",
681 "core/test/test_entry_factory.h", 679 "core/test/test_entry_factory.h",
682 "core/test/test_internal_components_factory.h", 680 "core/test/test_internal_components_factory.h",
683 "core/test/test_user_share.h", 681 "core/test/test_user_share.h",
684 "core_impl/test/fake_model_type_connector.cc", 682 "core_impl/test/fake_model_type_connector.cc",
685 "core_impl/test/fake_model_type_processor.cc", 683 "core_impl/test/fake_model_type_processor.cc",
686 "core_impl/test/fake_sync_manager.cc", 684 "core_impl/test/fake_sync_manager.cc",
687 "core_impl/test/model_type_store_test_util.cc", 685 "core_impl/test/model_type_store_test_util.cc",
688 "core_impl/test/sync_manager_factory_for_profile_sync_test.cc", 686 "core_impl/test/sync_manager_factory_for_profile_sync_test.cc",
689 "core_impl/test/sync_manager_for_profile_sync_test.cc", 687 "core_impl/test/sync_manager_for_profile_sync_test.cc",
690 "core_impl/test/sync_manager_for_profile_sync_test.h", 688 "core_impl/test/sync_manager_for_profile_sync_test.h",
691 "core_impl/test/test_entry_factory.cc", 689 "core_impl/test/test_entry_factory.cc",
692 "core_impl/test/test_internal_components_factory.cc", 690 "core_impl/test/test_internal_components_factory.cc",
693 "core_impl/test/test_user_share.cc", 691 "core_impl/test/test_user_share.cc",
692 "model/data_type_error_handler_mock.cc",
693 "model/data_type_error_handler_mock.h",
694 ] 694 ]
695 695
696 public_deps = [ 696 public_deps = [
697 ":test_support_sync_core", 697 ":test_support_sync_core",
698 "//base", 698 "//base",
699 "//components/sync", 699 "//components/sync",
700 "//testing/gtest", 700 "//testing/gtest",
701 ] 701 ]
702 702
703 defines = [ "SYNC_TEST" ] 703 defines = [ "SYNC_TEST" ]
704 configs += [ "//build/config/compiler:wexit_time_destructors" ] 704 configs += [ "//build/config/compiler:wexit_time_destructors" ]
705 } 705 }
706 706
707 static_library("test_support_sync_api") { 707 static_library("test_support_sync_model") {
708 testonly = true 708 testonly = true
709 sources = [ 709 sources = [
710 "api/fake_model_type_change_processor.cc", 710 "model/fake_model_type_change_processor.cc",
711 "api/fake_model_type_change_processor.h", 711 "model/fake_model_type_change_processor.h",
712 "api/fake_model_type_service.cc", 712 "model/fake_model_type_service.cc",
713 "api/fake_model_type_service.h", 713 "model/fake_model_type_service.h",
714 "api/fake_sync_change_processor.cc", 714 "model/fake_sync_change_processor.cc",
715 "api/fake_sync_change_processor.h", 715 "model/fake_sync_change_processor.h",
716 "api/fake_syncable_service.cc", 716 "model/fake_syncable_service.cc",
717 "api/fake_syncable_service.h", 717 "model/fake_syncable_service.h",
718 "api/mock_model_type_store.cc", 718 "model/mock_model_type_store.cc",
719 "api/mock_model_type_store.h", 719 "model/mock_model_type_store.h",
720 "api/stub_model_type_service.cc", 720 "model/stub_model_type_service.cc",
721 "api/stub_model_type_service.h", 721 "model/stub_model_type_service.h",
722 "api/sync_change_processor_wrapper_for_test.cc", 722 "model/sync_change_processor_wrapper_for_test.cc",
723 "api/sync_change_processor_wrapper_for_test.h", 723 "model/sync_change_processor_wrapper_for_test.h",
724 "api/sync_error_factory_mock.cc", 724 "model/sync_error_factory_mock.cc",
725 "api/sync_error_factory_mock.h", 725 "model/sync_error_factory_mock.h",
726 ] 726 ]
727 727
728 defines = [ "SYNC_TEST" ] 728 defines = [ "SYNC_TEST" ]
729 729
730 public_deps = [ 730 public_deps = [
731 "//base", 731 "//base",
732 "//components/sync", 732 "//components/sync",
733 "//testing/gmock", 733 "//testing/gmock",
734 "//testing/gtest", 734 "//testing/gtest",
735 ] 735 ]
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 "//components/version_info", 777 "//components/version_info",
778 "//google_apis", 778 "//google_apis",
779 "//testing/gmock", 779 "//testing/gmock",
780 "//testing/gtest", 780 "//testing/gtest",
781 ] 781 ]
782 } 782 }
783 783
784 source_set("unit_tests") { 784 source_set("unit_tests") {
785 testonly = true 785 testonly = true
786 sources = [ 786 sources = [
787 "api/attachments/attachment_id_unittest.cc",
788 "api/attachments/attachment_metadata_unittest.cc",
789 "api/attachments/attachment_service_proxy_unittest.cc",
790 "api/attachments/attachment_unittest.cc",
791 "api/entity_data_unittest.cc",
792 "api/model_type_service_unittest.cc",
793 "api/sync_change_unittest.cc",
794 "api/sync_data_unittest.cc",
795 "api/sync_error_unittest.cc",
796 "api/sync_merge_result_unittest.cc",
797 "api_impl/attachments/attachment_service_impl_unittest.cc",
798 "api_impl/attachments/task_queue_unittest.cc",
799 "base/attachment_id_proto_unittest.cc", 787 "base/attachment_id_proto_unittest.cc",
800 "base/bind_to_task_runner_unittest.cc", 788 "base/bind_to_task_runner_unittest.cc",
801 "base/cancelation_signal_unittest.cc", 789 "base/cancelation_signal_unittest.cc",
802 "base/cryptographer_unittest.cc", 790 "base/cryptographer_unittest.cc",
803 "base/data_type_histogram_unittest.cc", 791 "base/data_type_histogram_unittest.cc",
804 "base/enum_set_unittest.cc", 792 "base/enum_set_unittest.cc",
805 "base/get_session_name_unittest.cc", 793 "base/get_session_name_unittest.cc",
806 "base/immutable_unittest.cc", 794 "base/immutable_unittest.cc",
807 "base/nigori_unittest.cc", 795 "base/nigori_unittest.cc",
808 "base/node_ordinal_unittest.cc", 796 "base/node_ordinal_unittest.cc",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 "engine_impl/get_updates_processor_unittest.cc", 860 "engine_impl/get_updates_processor_unittest.cc",
873 "engine_impl/model_type_registry_unittest.cc", 861 "engine_impl/model_type_registry_unittest.cc",
874 "engine_impl/model_type_worker_unittest.cc", 862 "engine_impl/model_type_worker_unittest.cc",
875 "engine_impl/sync_scheduler_impl_unittest.cc", 863 "engine_impl/sync_scheduler_impl_unittest.cc",
876 "engine_impl/syncer_proto_util_unittest.cc", 864 "engine_impl/syncer_proto_util_unittest.cc",
877 "engine_impl/syncer_unittest.cc", 865 "engine_impl/syncer_unittest.cc",
878 "engine_impl/syncer_util_unittest.cc", 866 "engine_impl/syncer_util_unittest.cc",
879 "engine_impl/worker_entity_tracker_unittest.cc", 867 "engine_impl/worker_entity_tracker_unittest.cc",
880 "js/js_event_details_unittest.cc", 868 "js/js_event_details_unittest.cc",
881 "js/sync_js_controller_unittest.cc", 869 "js/sync_js_controller_unittest.cc",
870 "model/attachments/attachment_id_unittest.cc",
871 "model/attachments/attachment_metadata_unittest.cc",
872 "model/attachments/attachment_service_proxy_unittest.cc",
873 "model/attachments/attachment_unittest.cc",
874 "model/entity_data_unittest.cc",
875 "model/model_type_service_unittest.cc",
876 "model/sync_change_unittest.cc",
877 "model/sync_data_unittest.cc",
878 "model/sync_error_unittest.cc",
879 "model/sync_merge_result_unittest.cc",
880 "model_impl/attachments/attachment_service_impl_unittest.cc",
881 "model_impl/attachments/task_queue_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/directory_backing_store_unittest.cc", 884 "syncable/directory_backing_store_unittest.cc",
885 "syncable/directory_unittest.cc", 885 "syncable/directory_unittest.cc",
886 "syncable/directory_unittest.h", 886 "syncable/directory_unittest.h",
887 "syncable/entry_kernel_unittest.cc", 887 "syncable/entry_kernel_unittest.cc",
888 "syncable/model_type_unittest.cc", 888 "syncable/model_type_unittest.cc",
889 "syncable/nigori_util_unittest.cc", 889 "syncable/nigori_util_unittest.cc",
890 "syncable/parent_child_index_unittest.cc", 890 "syncable/parent_child_index_unittest.cc",
891 "syncable/syncable_enum_conversions_unittest.cc", 891 "syncable/syncable_enum_conversions_unittest.cc",
892 "syncable/syncable_id_unittest.cc", 892 "syncable/syncable_id_unittest.cc",
893 "syncable/syncable_unittest.cc", 893 "syncable/syncable_unittest.cc",
894 "syncable/syncable_util_unittest.cc", 894 "syncable/syncable_util_unittest.cc",
895 ] 895 ]
896 896
897 configs += [ "//build/config:precompiled_headers" ] 897 configs += [ "//build/config:precompiled_headers" ]
898 898
899 data = [ 899 data = [
900 "//chrome/test/data/sync/", 900 "//chrome/test/data/sync/",
901 "//net/tools/testserver/", 901 "//net/tools/testserver/",
902 "//third_party/pyftpdlib/", 902 "//third_party/pyftpdlib/",
903 "//third_party/pywebsocket/", 903 "//third_party/pywebsocket/",
904 "//third_party/tlslite/", 904 "//third_party/tlslite/",
905 "$root_out_dir/pyproto/google/", 905 "$root_out_dir/pyproto/google/",
906 ] 906 ]
907 907
908 deps = [ 908 deps = [
909 ":test_support_sync_api",
910 ":test_support_sync_core", 909 ":test_support_sync_core",
911 ":test_support_sync_core_impl", 910 ":test_support_sync_core_impl",
912 ":test_support_sync_driver", 911 ":test_support_sync_driver",
912 ":test_support_sync_model",
913 "//base", 913 "//base",
914 "//base/test:test_support", 914 "//base/test:test_support",
915 "//components/invalidation/impl", 915 "//components/invalidation/impl",
916 "//components/os_crypt:test_support", 916 "//components/os_crypt:test_support",
917 "//components/pref_registry:test_support", 917 "//components/pref_registry:test_support",
918 "//components/prefs:test_support", 918 "//components/prefs:test_support",
919 "//components/signin/core/browser:test_support", 919 "//components/signin/core/browser:test_support",
920 "//components/sync", 920 "//components/sync",
921 "//components/syncable_prefs", 921 "//components/syncable_prefs",
922 "//components/syncable_prefs:test_support", 922 "//components/syncable_prefs:test_support",
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 deps = [ 1090 deps = [
1091 ":fake_server_jni", 1091 ":fake_server_jni",
1092 ":sync", 1092 ":sync",
1093 ":test_support_sync_fake_server", 1093 ":test_support_sync_fake_server",
1094 "//base", 1094 "//base",
1095 "//testing/gtest", 1095 "//testing/gtest",
1096 "//url:url", 1096 "//url:url",
1097 ] 1097 ]
1098 } 1098 }
1099 } 1099 }
OLDNEW
« no previous file with comments | « components/search_engines/template_url_service.cc ('k') | components/sync/api/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698