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

Unified Diff: components/sync/sync_tests.gypi

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/sync_android.gypi ('k') | components/sync/sync_unit_tests.isolate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/sync_tests.gypi
diff --git a/sync/sync_tests.gypi b/components/sync/sync_tests.gypi
similarity index 69%
rename from sync/sync_tests.gypi
rename to components/sync/sync_tests.gypi
index e3744616a3163e42ed6b3ab0ae5e4ac291787268..9dfd496f1926941ca018ef58c7d10d08ba86ea12 100644
--- a/sync/sync_tests.gypi
+++ b/components/sync/sync_tests.gypi
@@ -5,7 +5,7 @@
{
'targets': [
# Test support files for the 'sync_core' target.
- # GN version: //sync:test_support_sync_core
+ # GN version: //components/sync:test_support_sync_core
{
'target_name': 'test_support_sync_core',
'type': 'static_library',
@@ -28,12 +28,12 @@
'sync',
],
'sources': [
- 'internal_api/public/base/model_type_test_util.cc',
- 'internal_api/public/base/model_type_test_util.h',
+ 'base/model_type_test_util.cc',
+ 'base/model_type_test_util.h',
'js/js_test_util.cc',
'js/js_test_util.h',
- 'sessions/test_util.cc',
- 'sessions/test_util.h',
+ 'sessions_impl/test_util.cc',
+ 'sessions_impl/test_util.h',
'test/callback_counter.h',
"test/directory_backing_store_corruption_testing.cc",
"test/directory_backing_store_corruption_testing.h",
@@ -79,15 +79,15 @@
'test/test_transaction_observer.h',
'test/trackable_mock_invalidation.cc',
'test/trackable_mock_invalidation.h',
- 'util/mock_unrecoverable_error_handler.cc',
- 'util/mock_unrecoverable_error_handler.h',
- 'util/test_unrecoverable_error_handler.cc',
- 'util/test_unrecoverable_error_handler.h',
+ 'base/mock_unrecoverable_error_handler.cc',
+ 'base/mock_unrecoverable_error_handler.h',
+ 'base/test_unrecoverable_error_handler.cc',
+ 'base/test_unrecoverable_error_handler.h',
],
},
# Test support files for the python sync test server.
- # GN version: //sync:test_support_sync_testserver
+ # GN version: //components/sync:test_support_sync_testserver
{
'target_name': 'test_support_sync_testserver',
'type': 'static_library',
@@ -113,7 +113,7 @@
},
# Test support files for the fake sync server.
- # GN version: //sync:test_support_sync_fake_server
+ # GN version: //components/sync:test_support_sync_fake_server
{
'target_name': 'test_support_sync_fake_server',
'type': 'static_library',
@@ -159,10 +159,10 @@
],
},
- # Test support files for the 'sync_internal_api' target.
- # GN version: //sync:test_support_sync_internal_api
+ # Test support files for the 'sync_core_impl' target.
+ # GN version: //components/sync:test_support_sync_core_impl
{
- 'target_name': 'test_support_sync_internal_api',
+ 'target_name': 'test_support_sync_core_impl',
'type': 'static_library',
'variables': { 'enable_wexit_time_destructors': 1, },
'include_dirs': [
@@ -183,31 +183,31 @@
'test_support_sync_core',
],
'sources': [
- 'internal_api/public/test/data_type_error_handler_mock.h',
- 'internal_api/public/test/fake_model_type_connector.h',
- 'internal_api/public/test/fake_model_type_processor.h',
- 'internal_api/public/test/fake_sync_manager.h',
- 'internal_api/public/test/model_type_store_test_util.h',
- 'internal_api/public/test/sync_manager_factory_for_profile_sync_test.h',
- 'internal_api/public/test/test_entry_factory.h',
- 'internal_api/public/test/test_internal_components_factory.h',
- 'internal_api/public/test/test_user_share.h',
- 'internal_api/test/data_type_error_handler_mock.cc',
- 'internal_api/test/fake_model_type_connector.cc',
- 'internal_api/test/fake_model_type_processor.cc',
- 'internal_api/test/fake_sync_manager.cc',
- 'internal_api/test/model_type_store_test_util.cc',
- 'internal_api/test/sync_manager_factory_for_profile_sync_test.cc',
- 'internal_api/test/sync_manager_for_profile_sync_test.cc',
- 'internal_api/test/sync_manager_for_profile_sync_test.h',
- 'internal_api/test/test_entry_factory.cc',
- 'internal_api/test/test_internal_components_factory.cc',
- 'internal_api/test/test_user_share.cc',
+ 'core/test/data_type_error_handler_mock.h',
+ 'core/test/fake_model_type_connector.h',
+ 'core/test/fake_model_type_processor.h',
+ 'core/test/fake_sync_manager.h',
+ 'core/test/model_type_store_test_util.h',
+ 'core/test/sync_manager_factory_for_profile_sync_test.h',
+ 'core/test/test_entry_factory.h',
+ 'core/test/test_internal_components_factory.h',
+ 'core/test/test_user_share.h',
+ 'core_impl/test/data_type_error_handler_mock.cc',
+ 'core_impl/test/fake_model_type_connector.cc',
+ 'core_impl/test/fake_model_type_processor.cc',
+ 'core_impl/test/fake_sync_manager.cc',
+ 'core_impl/test/model_type_store_test_util.cc',
+ 'core_impl/test/sync_manager_factory_for_profile_sync_test.cc',
+ 'core_impl/test/sync_manager_for_profile_sync_test.cc',
+ 'core_impl/test/sync_manager_for_profile_sync_test.h',
+ 'core_impl/test/test_entry_factory.cc',
+ 'core_impl/test/test_internal_components_factory.cc',
+ 'core_impl/test/test_user_share.cc',
],
},
# Test support files for the 'sync_api' target.
- # GN version: //sync:test_support_sync_api
+ # GN version: //components/sync:test_support_sync_api
{
'target_name': 'test_support_sync_api',
'type': 'static_library',
@@ -244,7 +244,7 @@
},
# The unit test executable for sync tests.
- # GN version: //sync:sync_unit_tests
+ # GN version: //components/sync:sync_unit_tests
{
'target_name': 'sync_unit_tests',
'type': '<(gtest_target_type)',
@@ -269,7 +269,7 @@
'sync',
'test_support_sync_api',
'test_support_sync_core',
- 'test_support_sync_internal_api',
+ 'test_support_sync_core_impl',
],
'include_dirs': [
'..',
@@ -284,63 +284,63 @@
'api/sync_data_unittest.cc',
'api/sync_error_unittest.cc',
'api/sync_merge_result_unittest.cc',
- 'engine/apply_control_data_updates_unittest.cc',
- 'engine/backoff_delay_provider_unittest.cc',
- 'engine/directory_commit_contribution_unittest.cc',
- 'engine/directory_update_handler_unittest.cc',
- 'engine/get_updates_processor_unittest.cc',
- 'engine/model_type_worker_unittest.cc',
- 'engine/sync_scheduler_unittest.cc',
- 'engine/syncer_proto_util_unittest.cc',
- 'engine/syncer_unittest.cc',
- 'engine/syncer_util_unittest.cc',
- 'engine/worker_entity_tracker_unittest.cc',
- 'internal_api/attachments/attachment_downloader_impl_unittest.cc',
- 'internal_api/attachments/attachment_service_impl_unittest.cc',
- 'internal_api/attachments/attachment_service_proxy_unittest.cc',
- 'internal_api/attachments/attachment_store_frontend_unittest.cc',
- 'internal_api/attachments/attachment_store_test_template.h',
- 'internal_api/attachments/attachment_uploader_impl_unittest.cc',
- 'internal_api/attachments/fake_attachment_downloader_unittest.cc',
- 'internal_api/attachments/fake_attachment_uploader_unittest.cc',
- 'internal_api/attachments/in_memory_attachment_store_unittest.cc',
- 'internal_api/attachments/on_disk_attachment_store_unittest.cc',
- 'internal_api/attachments/task_queue_unittest.cc',
- 'internal_api/debug_info_event_listener_unittest.cc',
- 'internal_api/http_bridge_unittest.cc',
- 'internal_api/js_mutation_event_observer_unittest.cc',
- 'internal_api/js_sync_encryption_handler_observer_unittest.cc',
- 'internal_api/js_sync_manager_observer_unittest.cc',
- 'internal_api/model_type_connector_proxy_unittest.cc',
- 'internal_api/model_type_store_backend_unittest.cc',
- 'internal_api/model_type_store_impl_unittest.cc',
- 'internal_api/processor_entity_tracker_unittest.cc',
- 'internal_api/protocol_event_buffer_unittest.cc',
- 'internal_api/public/base/attachment_id_proto_unittest.cc',
- 'internal_api/public/base/cancelation_signal_unittest.cc',
- 'internal_api/public/base/enum_set_unittest.cc',
- 'internal_api/public/base/node_ordinal_unittest.cc',
- 'internal_api/public/base/ordinal_unittest.cc',
- 'internal_api/public/base/unique_position_unittest.cc',
- 'internal_api/public/change_record_unittest.cc',
- 'internal_api/public/data_batch_impl_unittest.cc',
- 'internal_api/public/engine/model_safe_worker_unittest.cc',
- 'internal_api/public/sessions/sync_session_snapshot_unittest.cc',
- 'internal_api/public/simple_metadata_change_list_unittest.cc',
- 'internal_api/public/util/immutable_unittest.cc',
- 'internal_api/public/util/proto_value_ptr_unittest.cc',
- 'internal_api/public/util/weak_handle_unittest.cc',
- 'internal_api/shared_model_type_processor_unittest.cc',
- 'internal_api/sync_encryption_handler_impl_unittest.cc',
- 'internal_api/sync_manager_impl_unittest.cc',
- 'internal_api/syncapi_server_connection_manager_unittest.cc',
+ 'engine_impl/apply_control_data_updates_unittest.cc',
+ 'engine_impl/backoff_delay_provider_unittest.cc',
+ 'engine_impl/directory_commit_contribution_unittest.cc',
+ 'engine_impl/directory_update_handler_unittest.cc',
+ 'engine_impl/get_updates_processor_unittest.cc',
+ 'engine_impl/model_type_worker_unittest.cc',
+ 'engine_impl/sync_scheduler_unittest.cc',
+ 'engine_impl/syncer_proto_util_unittest.cc',
+ 'engine_impl/syncer_unittest.cc',
+ 'engine_impl/syncer_util_unittest.cc',
+ 'engine_impl/worker_entity_tracker_unittest.cc',
+ 'core_impl/attachments/attachment_downloader_impl_unittest.cc',
+ 'core_impl/attachments/attachment_service_impl_unittest.cc',
+ 'core_impl/attachments/attachment_service_proxy_unittest.cc',
+ 'core_impl/attachments/attachment_store_frontend_unittest.cc',
+ 'core_impl/attachments/attachment_store_test_template.h',
+ 'core_impl/attachments/attachment_uploader_impl_unittest.cc',
+ 'core_impl/attachments/fake_attachment_downloader_unittest.cc',
+ 'core_impl/attachments/fake_attachment_uploader_unittest.cc',
+ 'core_impl/attachments/in_memory_attachment_store_unittest.cc',
+ 'core_impl/attachments/on_disk_attachment_store_unittest.cc',
+ 'core_impl/attachments/task_queue_unittest.cc',
+ 'core_impl/debug_info_event_listener_unittest.cc',
+ 'core/http_bridge_unittest.cc',
+ 'core_impl/js_mutation_event_observer_unittest.cc',
+ 'core_impl/js_sync_encryption_handler_observer_unittest.cc',
+ 'core_impl/js_sync_manager_observer_unittest.cc',
+ 'core_impl/model_type_connector_proxy_unittest.cc',
+ 'core/model_type_store_backend_unittest.cc',
+ 'core/model_type_store_impl_unittest.cc',
+ 'core/processor_entity_tracker_unittest.cc',
+ 'core_impl/protocol_event_buffer_unittest.cc',
+ 'base/attachment_id_proto_unittest.cc',
+ 'base/cancelation_signal_unittest.cc',
+ 'base/enum_set_unittest.cc',
+ 'base/node_ordinal_unittest.cc',
+ 'base/ordinal_unittest.cc',
+ 'base/unique_position_unittest.cc',
+ 'core/change_record_unittest.cc',
+ 'core/data_batch_impl_unittest.cc',
+ 'engine/model_safe_worker_unittest.cc',
+ 'sessions/sync_session_snapshot_unittest.cc',
+ 'core/simple_metadata_change_list_unittest.cc',
+ 'base/immutable_unittest.cc',
+ 'base/proto_value_ptr_unittest.cc',
+ 'base/weak_handle_unittest.cc',
+ 'core/shared_model_type_processor_unittest.cc',
+ 'core_impl/sync_encryption_handler_impl_unittest.cc',
+ 'core_impl/sync_manager_impl_unittest.cc',
+ 'core_impl/syncapi_server_connection_manager_unittest.cc',
'js/js_event_details_unittest.cc',
'js/sync_js_controller_unittest.cc',
'protocol/proto_enum_conversions_unittest.cc',
'protocol/proto_value_conversions_unittest.cc',
- 'sessions/model_type_registry_unittest.cc',
- 'sessions/nudge_tracker_unittest.cc',
- 'sessions/status_controller_unittest.cc',
+ 'sessions_impl/model_type_registry_unittest.cc',
+ 'sessions_impl/nudge_tracker_unittest.cc',
+ 'sessions_impl/status_controller_unittest.cc',
'syncable/directory_backing_store_unittest.cc',
'syncable/directory_unittest.cc',
'syncable/directory_unittest.h',
@@ -352,11 +352,11 @@
'syncable/syncable_id_unittest.cc',
'syncable/syncable_unittest.cc',
'syncable/syncable_util_unittest.cc',
- 'util/cryptographer_unittest.cc',
- 'util/data_type_histogram_unittest.cc',
- 'util/get_session_name_unittest.cc',
- 'util/nigori_unittest.cc',
- 'util/protobuf_unittest.cc',
+ 'base/cryptographer_unittest.cc',
+ 'base/data_type_histogram_unittest.cc',
+ 'base/get_session_name_unittest.cc',
+ 'base/nigori_unittest.cc',
+ 'base/protobuf_unittest.cc',
],
'conditions': [
['OS == "android"', {
@@ -372,7 +372,7 @@
}],
['OS == "ios"', {
'sources!': [
- 'internal_api/http_bridge_unittest.cc',
+ 'core/http_bridge_unittest.cc',
],
}],
],
@@ -401,34 +401,34 @@
['OS == "android"', {
'targets': [
{
- # GN: //sync/android:sync_javatests
+ # GN: //components/sync/android:sync_javatests
'target_name': 'sync_javatests',
'type': 'none',
'variables': {
- 'java_in_dir': '../sync/android/javatests',
+ 'java_in_dir': '../components/sync/android/javatests',
},
'dependencies': [
'sync_java',
'sync_java_test_support',
'../base/base.gyp:base_java_test_support',
],
- 'includes': [ '../build/java.gypi' ],
+ 'includes': [ '../../build/java.gypi' ],
},
{
- # GN: //sync:sync_java_test_support
+ # GN: //components/sync:sync_java_test_support
'target_name': 'sync_java_test_support',
'type': 'none',
'variables': {
- 'java_in_dir': '../sync/test/android/javatests',
+ 'java_in_dir': '../components/sync/test/android/javatests',
},
'dependencies': [
'sync_java',
'../base/base.gyp:base_java_test_support',
],
- 'includes': [ '../build/java.gypi' ],
+ 'includes': [ '../../build/java.gypi' ],
},
{
- # GN: //sync:sync_fake_server_jni_headers
+ # GN: //components/sync:sync_fake_server_jni_headers
'target_name': 'sync_fake_server_jni_headers',
'type': 'none',
'sources': [
@@ -438,10 +438,10 @@
'jni_gen_package': 'sync/test/fake_server',
'jni_generator_ptr_type': 'long',
},
- 'includes': [ '../build/jni_generator.gypi' ],
+ 'includes': [ '../../build/jni_generator.gypi' ],
},
{
- # GN: //sync:test_support_sync_proto_java
+ # GN: //components/sync:test_support_sync_proto_java
'target_name': 'test_support_sync_proto_java',
'type': 'none',
'variables': {
@@ -474,10 +474,10 @@
'sources': [
'<@(sync_proto_source_paths)',
],
- 'includes': ['protocol/protocol.gypi', '../build/protoc_java.gypi'],
+ 'includes': ['protocol/protocol.gypi', '../../build/protoc_java.gypi'],
},
{
- # GN: //sync:test_support_sync_fake_server_android
+ # GN: //components/sync:test_support_sync_fake_server_android
'target_name': 'test_support_sync_fake_server_android',
'type': 'static_library',
'dependencies': [
@@ -495,7 +495,7 @@
],
},
{
- # GN: //sync:sync_unit_tests_apk
+ # GN: //components/sync:sync_unit_tests_apk
'target_name': 'sync_unit_tests_apk',
'type': 'none',
'dependencies': [
@@ -505,7 +505,7 @@
'test_suite_name': 'sync_unit_tests',
'isolate_file': 'sync_unit_tests.isolate',
},
- 'includes': [ '../build/apk_test.gypi' ],
+ 'includes': [ '../../build/apk_test.gypi' ],
},
],
'conditions': [
@@ -518,7 +518,7 @@
'sync_unit_tests_apk',
],
'includes': [
- '../build/isolate.gypi',
+ '../../build/isolate.gypi',
],
'sources': [
'sync_unit_tests_apk.isolate',
@@ -537,7 +537,7 @@
'sync_unit_tests',
],
'includes': [
- '../build/isolate.gypi',
+ '../../build/isolate.gypi',
],
'sources': [
'sync_unit_tests.isolate',
« no previous file with comments | « components/sync/sync_android.gypi ('k') | components/sync/sync_unit_tests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698