OLD | NEW |
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 "base/time.h", | 71 "base/time.h", |
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/base_node.cc", | |
82 "core/base_node.h", | |
83 "core/base_transaction.cc", | |
84 "core/base_transaction.h", | |
85 "core/change_record.cc", | |
86 "core/change_record.h", | |
87 "core/configure_reason.h", | 81 "core/configure_reason.h", |
88 "core/data_batch_impl.cc", | 82 "core/data_batch_impl.cc", |
89 "core/data_batch_impl.h", | 83 "core/data_batch_impl.h", |
90 "core/data_type_association_stats.cc", | 84 "core/data_type_association_stats.cc", |
91 "core/data_type_association_stats.h", | 85 "core/data_type_association_stats.h", |
92 "core/data_type_debug_info_listener.cc", | 86 "core/data_type_debug_info_listener.cc", |
93 "core/data_type_debug_info_listener.h", | 87 "core/data_type_debug_info_listener.h", |
94 "core/delete_journal.cc", | |
95 "core/delete_journal.h", | |
96 "core/internal_components_factory.h", | 88 "core/internal_components_factory.h", |
97 "core/internal_components_factory_impl.cc", | 89 "core/internal_components_factory_impl.cc", |
98 "core/internal_components_factory_impl.h", | 90 "core/internal_components_factory_impl.h", |
99 "core/model_type_connector.cc", | 91 "core/model_type_connector.cc", |
100 "core/model_type_connector.h", | 92 "core/model_type_connector.h", |
101 "core/model_type_processor.cc", | 93 "core/model_type_processor.cc", |
102 "core/model_type_processor.h", | 94 "core/model_type_processor.h", |
103 "core/model_type_processor_proxy.cc", | 95 "core/model_type_processor_proxy.cc", |
104 "core/model_type_processor_proxy.h", | 96 "core/model_type_processor_proxy.h", |
105 "core/model_type_store_backend.cc", | 97 "core/model_type_store_backend.cc", |
106 "core/model_type_store_backend.h", | 98 "core/model_type_store_backend.h", |
107 "core/model_type_store_impl.cc", | 99 "core/model_type_store_impl.cc", |
108 "core/model_type_store_impl.h", | 100 "core/model_type_store_impl.h", |
109 "core/non_blocking_sync_common.cc", | 101 "core/non_blocking_sync_common.cc", |
110 "core/non_blocking_sync_common.h", | 102 "core/non_blocking_sync_common.h", |
111 "core/processor_entity_tracker.cc", | 103 "core/processor_entity_tracker.cc", |
112 "core/processor_entity_tracker.h", | 104 "core/processor_entity_tracker.h", |
113 "core/read_node.cc", | |
114 "core/read_node.h", | |
115 "core/read_transaction.cc", | |
116 "core/read_transaction.h", | |
117 "core/shared_model_type_processor.cc", | 105 "core/shared_model_type_processor.cc", |
118 "core/shared_model_type_processor.h", | 106 "core/shared_model_type_processor.h", |
119 "core/shutdown_reason.h", | 107 "core/shutdown_reason.h", |
120 "core/simple_metadata_change_list.cc", | 108 "core/simple_metadata_change_list.cc", |
121 "core/simple_metadata_change_list.h", | 109 "core/simple_metadata_change_list.h", |
122 "core/sync_auth_provider.h", | 110 "core/sync_auth_provider.h", |
123 "core/sync_db_util.cc", | 111 "core/sync_db_util.cc", |
124 "core/sync_encryption_handler.cc", | 112 "core/sync_encryption_handler.cc", |
125 "core/sync_encryption_handler.h", | 113 "core/sync_encryption_handler.h", |
126 "core/sync_manager.cc", | 114 "core/sync_manager.cc", |
127 "core/sync_manager.h", | 115 "core/sync_manager.h", |
128 "core/sync_manager_factory.cc", | 116 "core/sync_manager_factory.cc", |
129 "core/sync_manager_factory.h", | 117 "core/sync_manager_factory.h", |
130 "core/user_share.cc", | |
131 "core/user_share.h", | |
132 "core/write_node.cc", | |
133 "core/write_node.h", | |
134 "core/write_transaction.cc", | |
135 "core/write_transaction.h", | |
136 "core_impl/change_reorder_buffer.cc", | |
137 "core_impl/change_reorder_buffer.h", | |
138 "core_impl/debug_info_event_listener.cc", | 118 "core_impl/debug_info_event_listener.cc", |
139 "core_impl/debug_info_event_listener.h", | 119 "core_impl/debug_info_event_listener.h", |
140 "core_impl/js_mutation_event_observer.cc", | 120 "core_impl/js_mutation_event_observer.cc", |
141 "core_impl/js_mutation_event_observer.h", | 121 "core_impl/js_mutation_event_observer.h", |
142 "core_impl/js_sync_encryption_handler_observer.cc", | 122 "core_impl/js_sync_encryption_handler_observer.cc", |
143 "core_impl/js_sync_encryption_handler_observer.h", | 123 "core_impl/js_sync_encryption_handler_observer.h", |
144 "core_impl/js_sync_manager_observer.cc", | 124 "core_impl/js_sync_manager_observer.cc", |
145 "core_impl/js_sync_manager_observer.h", | 125 "core_impl/js_sync_manager_observer.h", |
146 "core_impl/model_type_connector_proxy.cc", | 126 "core_impl/model_type_connector_proxy.cc", |
147 "core_impl/model_type_connector_proxy.h", | 127 "core_impl/model_type_connector_proxy.h", |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 "model/time.h", | 448 "model/time.h", |
469 "model_impl/attachments/attachment_service_impl.cc", | 449 "model_impl/attachments/attachment_service_impl.cc", |
470 "model_impl/attachments/attachment_service_impl.h", | 450 "model_impl/attachments/attachment_service_impl.h", |
471 "model_impl/attachments/task_queue.h", | 451 "model_impl/attachments/task_queue.h", |
472 "protocol/proto_enum_conversions.cc", | 452 "protocol/proto_enum_conversions.cc", |
473 "protocol/proto_enum_conversions.h", | 453 "protocol/proto_enum_conversions.h", |
474 "protocol/proto_value_conversions.cc", | 454 "protocol/proto_value_conversions.cc", |
475 "protocol/proto_value_conversions.h", | 455 "protocol/proto_value_conversions.h", |
476 "protocol/sync_protocol_error.cc", | 456 "protocol/sync_protocol_error.cc", |
477 "protocol/sync_protocol_error.h", | 457 "protocol/sync_protocol_error.h", |
| 458 "syncable/base_node.cc", |
| 459 "syncable/base_node.h", |
| 460 "syncable/base_transaction.cc", |
| 461 "syncable/base_transaction.h", |
| 462 "syncable/change_record.cc", |
| 463 "syncable/change_record.h", |
| 464 "syncable/change_reorder_buffer.cc", |
| 465 "syncable/change_reorder_buffer.h", |
| 466 "syncable/delete_journal.cc", |
| 467 "syncable/delete_journal.h", |
478 "syncable/dir_open_result.h", | 468 "syncable/dir_open_result.h", |
479 "syncable/directory.cc", | 469 "syncable/directory.cc", |
480 "syncable/directory.h", | 470 "syncable/directory.h", |
481 "syncable/directory_backing_store.cc", | 471 "syncable/directory_backing_store.cc", |
482 "syncable/directory_backing_store.h", | 472 "syncable/directory_backing_store.h", |
483 "syncable/directory_change_delegate.h", | 473 "syncable/directory_change_delegate.h", |
484 "syncable/entry.cc", | 474 "syncable/entry.cc", |
485 "syncable/entry.h", | 475 "syncable/entry.h", |
486 "syncable/entry_kernel.cc", | 476 "syncable/entry_kernel.cc", |
487 "syncable/entry_kernel.h", | 477 "syncable/entry_kernel.h", |
488 "syncable/in_memory_directory_backing_store.cc", | 478 "syncable/in_memory_directory_backing_store.cc", |
489 "syncable/in_memory_directory_backing_store.h", | 479 "syncable/in_memory_directory_backing_store.h", |
490 "syncable/invalid_directory_backing_store.cc", | 480 "syncable/invalid_directory_backing_store.cc", |
491 "syncable/invalid_directory_backing_store.h", | 481 "syncable/invalid_directory_backing_store.h", |
492 "syncable/metahandle_set.h", | 482 "syncable/metahandle_set.h", |
493 "syncable/model_neutral_mutable_entry.cc", | 483 "syncable/model_neutral_mutable_entry.cc", |
494 "syncable/model_neutral_mutable_entry.h", | 484 "syncable/model_neutral_mutable_entry.h", |
495 "syncable/model_type.cc", | 485 "syncable/model_type.cc", |
496 "syncable/mutable_entry.cc", | 486 "syncable/mutable_entry.cc", |
497 "syncable/mutable_entry.h", | 487 "syncable/mutable_entry.h", |
498 "syncable/nigori_handler.cc", | 488 "syncable/nigori_handler.cc", |
499 "syncable/nigori_handler.h", | 489 "syncable/nigori_handler.h", |
500 "syncable/nigori_util.cc", | 490 "syncable/nigori_util.cc", |
501 "syncable/nigori_util.h", | 491 "syncable/nigori_util.h", |
502 "syncable/on_disk_directory_backing_store.cc", | 492 "syncable/on_disk_directory_backing_store.cc", |
503 "syncable/on_disk_directory_backing_store.h", | 493 "syncable/on_disk_directory_backing_store.h", |
504 "syncable/parent_child_index.cc", | 494 "syncable/parent_child_index.cc", |
505 "syncable/parent_child_index.h", | 495 "syncable/parent_child_index.h", |
| 496 "syncable/read_node.cc", |
| 497 "syncable/read_node.h", |
| 498 "syncable/read_transaction.cc", |
| 499 "syncable/read_transaction.h", |
506 "syncable/scoped_kernel_lock.cc", | 500 "syncable/scoped_kernel_lock.cc", |
507 "syncable/scoped_kernel_lock.h", | 501 "syncable/scoped_kernel_lock.h", |
508 "syncable/scoped_parent_child_index_updater.cc", | 502 "syncable/scoped_parent_child_index_updater.cc", |
509 "syncable/scoped_parent_child_index_updater.h", | 503 "syncable/scoped_parent_child_index_updater.h", |
510 "syncable/syncable_base_transaction.cc", | 504 "syncable/syncable_base_transaction.cc", |
511 "syncable/syncable_base_transaction.h", | 505 "syncable/syncable_base_transaction.h", |
512 "syncable/syncable_base_write_transaction.cc", | 506 "syncable/syncable_base_write_transaction.cc", |
513 "syncable/syncable_base_write_transaction.h", | 507 "syncable/syncable_base_write_transaction.h", |
514 "syncable/syncable_changes_version.h", | 508 "syncable/syncable_changes_version.h", |
515 "syncable/syncable_columns.h", | 509 "syncable/syncable_columns.h", |
516 "syncable/syncable_delete_journal.cc", | 510 "syncable/syncable_delete_journal.cc", |
517 "syncable/syncable_delete_journal.h", | 511 "syncable/syncable_delete_journal.h", |
518 "syncable/syncable_enum_conversions.cc", | 512 "syncable/syncable_enum_conversions.cc", |
519 "syncable/syncable_enum_conversions.h", | 513 "syncable/syncable_enum_conversions.h", |
520 "syncable/syncable_id.cc", | 514 "syncable/syncable_id.cc", |
521 "syncable/syncable_id.h", | 515 "syncable/syncable_id.h", |
522 "syncable/syncable_model_neutral_write_transaction.cc", | 516 "syncable/syncable_model_neutral_write_transaction.cc", |
523 "syncable/syncable_model_neutral_write_transaction.h", | 517 "syncable/syncable_model_neutral_write_transaction.h", |
524 "syncable/syncable_proto_util.cc", | 518 "syncable/syncable_proto_util.cc", |
525 "syncable/syncable_proto_util.h", | 519 "syncable/syncable_proto_util.h", |
526 "syncable/syncable_read_transaction.cc", | 520 "syncable/syncable_read_transaction.cc", |
527 "syncable/syncable_read_transaction.h", | 521 "syncable/syncable_read_transaction.h", |
528 "syncable/syncable_util.cc", | 522 "syncable/syncable_util.cc", |
529 "syncable/syncable_util.h", | 523 "syncable/syncable_util.h", |
530 "syncable/syncable_write_transaction.cc", | 524 "syncable/syncable_write_transaction.cc", |
531 "syncable/syncable_write_transaction.h", | 525 "syncable/syncable_write_transaction.h", |
532 "syncable/transaction_observer.h", | 526 "syncable/transaction_observer.h", |
| 527 "syncable/user_share.cc", |
| 528 "syncable/user_share.h", |
| 529 "syncable/write_node.cc", |
| 530 "syncable/write_node.h", |
| 531 "syncable/write_transaction.cc", |
| 532 "syncable/write_transaction.h", |
533 "syncable/write_transaction_info.cc", | 533 "syncable/write_transaction_info.cc", |
534 "syncable/write_transaction_info.h", | 534 "syncable/write_transaction_info.h", |
535 ] | 535 ] |
536 | 536 |
537 configs += [ "//build/config:precompiled_headers" ] | 537 configs += [ "//build/config:precompiled_headers" ] |
538 | 538 |
539 public_deps = [ | 539 public_deps = [ |
540 "//components/sync/protocol", | 540 "//components/sync/protocol", |
541 ] | 541 ] |
542 deps = [ | 542 deps = [ |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "core/test/fake_model_type_connector.h", | 674 "core/test/fake_model_type_connector.h", |
675 "core/test/fake_model_type_processor.h", | 675 "core/test/fake_model_type_processor.h", |
676 "core/test/fake_sync_manager.h", | 676 "core/test/fake_sync_manager.h", |
677 "core/test/model_type_store_test_util.h", | 677 "core/test/model_type_store_test_util.h", |
678 "core/test/sync_manager_factory_for_profile_sync_test.h", | 678 "core/test/sync_manager_factory_for_profile_sync_test.h", |
679 "core/test/test_entry_factory.h", | 679 "core/test/test_entry_factory.h", |
680 "core/test/test_internal_components_factory.h", | 680 "core/test/test_internal_components_factory.h", |
681 "core/test/test_user_share.h", | |
682 "core_impl/test/fake_model_type_connector.cc", | 681 "core_impl/test/fake_model_type_connector.cc", |
683 "core_impl/test/fake_model_type_processor.cc", | 682 "core_impl/test/fake_model_type_processor.cc", |
684 "core_impl/test/fake_sync_manager.cc", | 683 "core_impl/test/fake_sync_manager.cc", |
685 "core_impl/test/model_type_store_test_util.cc", | 684 "core_impl/test/model_type_store_test_util.cc", |
686 "core_impl/test/sync_manager_factory_for_profile_sync_test.cc", | 685 "core_impl/test/sync_manager_factory_for_profile_sync_test.cc", |
687 "core_impl/test/sync_manager_for_profile_sync_test.cc", | 686 "core_impl/test/sync_manager_for_profile_sync_test.cc", |
688 "core_impl/test/sync_manager_for_profile_sync_test.h", | 687 "core_impl/test/sync_manager_for_profile_sync_test.h", |
689 "core_impl/test/test_entry_factory.cc", | 688 "core_impl/test/test_entry_factory.cc", |
690 "core_impl/test/test_internal_components_factory.cc", | 689 "core_impl/test/test_internal_components_factory.cc", |
691 "core_impl/test/test_user_share.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 "syncable/test_user_share.cc", |
| 693 "syncable/test_user_share.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" ] |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 "base/immutable_unittest.cc", | 794 "base/immutable_unittest.cc", |
795 "base/nigori_unittest.cc", | 795 "base/nigori_unittest.cc", |
796 "base/node_ordinal_unittest.cc", | 796 "base/node_ordinal_unittest.cc", |
797 "base/ordinal_unittest.cc", | 797 "base/ordinal_unittest.cc", |
798 "base/proto_value_ptr_unittest.cc", | 798 "base/proto_value_ptr_unittest.cc", |
799 "base/protobuf_unittest.cc", | 799 "base/protobuf_unittest.cc", |
800 "base/sync_prefs_unittest.cc", | 800 "base/sync_prefs_unittest.cc", |
801 "base/system_encryptor_unittest.cc", | 801 "base/system_encryptor_unittest.cc", |
802 "base/unique_position_unittest.cc", | 802 "base/unique_position_unittest.cc", |
803 "base/weak_handle_unittest.cc", | 803 "base/weak_handle_unittest.cc", |
804 "core/change_record_unittest.cc", | |
805 "core/data_batch_impl_unittest.cc", | 804 "core/data_batch_impl_unittest.cc", |
806 "core/model_type_store_backend_unittest.cc", | 805 "core/model_type_store_backend_unittest.cc", |
807 "core/model_type_store_impl_unittest.cc", | 806 "core/model_type_store_impl_unittest.cc", |
808 "core/processor_entity_tracker_unittest.cc", | 807 "core/processor_entity_tracker_unittest.cc", |
809 "core/shared_model_type_processor_unittest.cc", | 808 "core/shared_model_type_processor_unittest.cc", |
810 "core/simple_metadata_change_list_unittest.cc", | 809 "core/simple_metadata_change_list_unittest.cc", |
811 "core_impl/debug_info_event_listener_unittest.cc", | 810 "core_impl/debug_info_event_listener_unittest.cc", |
812 "core_impl/js_mutation_event_observer_unittest.cc", | 811 "core_impl/js_mutation_event_observer_unittest.cc", |
813 "core_impl/js_sync_encryption_handler_observer_unittest.cc", | 812 "core_impl/js_sync_encryption_handler_observer_unittest.cc", |
814 "core_impl/js_sync_manager_observer_unittest.cc", | 813 "core_impl/js_sync_manager_observer_unittest.cc", |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 "model/entity_data_unittest.cc", | 873 "model/entity_data_unittest.cc", |
875 "model/model_type_service_unittest.cc", | 874 "model/model_type_service_unittest.cc", |
876 "model/sync_change_unittest.cc", | 875 "model/sync_change_unittest.cc", |
877 "model/sync_data_unittest.cc", | 876 "model/sync_data_unittest.cc", |
878 "model/sync_error_unittest.cc", | 877 "model/sync_error_unittest.cc", |
879 "model/sync_merge_result_unittest.cc", | 878 "model/sync_merge_result_unittest.cc", |
880 "model_impl/attachments/attachment_service_impl_unittest.cc", | 879 "model_impl/attachments/attachment_service_impl_unittest.cc", |
881 "model_impl/attachments/task_queue_unittest.cc", | 880 "model_impl/attachments/task_queue_unittest.cc", |
882 "protocol/proto_enum_conversions_unittest.cc", | 881 "protocol/proto_enum_conversions_unittest.cc", |
883 "protocol/proto_value_conversions_unittest.cc", | 882 "protocol/proto_value_conversions_unittest.cc", |
| 883 "syncable/change_record_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", |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1091 deps = [ | 1091 deps = [ |
1092 ":fake_server_jni", | 1092 ":fake_server_jni", |
1093 ":sync", | 1093 ":sync", |
1094 ":test_support_sync_fake_server", | 1094 ":test_support_sync_fake_server", |
1095 "//base", | 1095 "//base", |
1096 "//testing/gtest", | 1096 "//testing/gtest", |
1097 "//url:url", | 1097 "//url:url", |
1098 ] | 1098 ] |
1099 } | 1099 } |
1100 } | 1100 } |
OLD | NEW |