Index: components/sync.gyp |
diff --git a/components/sync.gyp b/components/sync.gyp |
index b04de1b889f0aa1677f1325d990da115d04aa9bc..b2f474b60e2e686688c9a3df2bff8102efa1b214 100644 |
--- a/components/sync.gyp |
+++ b/components/sync.gyp |
@@ -56,10 +56,18 @@ |
'../google_apis/google_apis.gyp:google_apis', |
'../net/net.gyp:net', |
'../sql/sql.gyp:sql', |
+ '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation', |
+ '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_proto_cpp', |
'../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
'../third_party/protobuf/protobuf.gyp:protobuf_lite', |
'../third_party/zlib/zlib.gyp:zlib', |
'../url/url.gyp:url_lib', |
+ 'components.gyp:data_use_measurement_core', |
+ 'components.gyp:invalidation_public', |
+ 'components.gyp:metrics', |
+ 'components.gyp:os_crypt', |
+ 'components.gyp:signin_core_browser', |
+ 'components.gyp:version_info', |
'attachment_store_proto', |
'sync_proto', |
], |
@@ -479,6 +487,121 @@ |
'sync/base/nigori.h', |
'sync/base/time.cc', |
'sync/base/time.h', |
+ 'sync/driver/about_sync_util.cc', |
+ 'sync/driver/about_sync_util.h', |
+ 'sync/driver/backend_data_type_configurer.cc', |
+ 'sync/driver/backend_data_type_configurer.h', |
+ 'sync/driver/backend_migrator.cc', |
+ 'sync/driver/backend_migrator.h', |
+ 'sync/driver/change_processor.cc', |
+ 'sync/driver/change_processor.h', |
+ 'sync/driver/data_type_controller.cc', |
+ 'sync/driver/data_type_controller.h', |
+ 'sync/driver/data_type_encryption_handler.cc', |
+ 'sync/driver/data_type_encryption_handler.h', |
+ 'sync/driver/data_type_manager.cc', |
+ 'sync/driver/data_type_manager.h', |
+ 'sync/driver/data_type_manager_impl.cc', |
+ 'sync/driver/data_type_manager_impl.h', |
+ 'sync/driver/data_type_manager_observer.h', |
+ 'sync/driver/data_type_status_table.cc', |
+ 'sync/driver/data_type_status_table.h', |
+ 'sync/driver/device_count_metrics_provider.cc', |
+ 'sync/driver/device_count_metrics_provider.h', |
+ 'sync/driver/device_info.cc', |
+ 'sync/driver/device_info.h', |
+ 'sync/driver/device_info_data_type_controller.cc', |
+ 'sync/driver/device_info_data_type_controller.h', |
+ 'sync/driver/device_info_service.cc', |
+ 'sync/driver/device_info_service.h', |
+ 'sync/driver/device_info_sync_service.cc', |
+ 'sync/driver/device_info_sync_service.h', |
+ 'sync/driver/device_info_tracker.h', |
+ 'sync/driver/device_info_util.cc', |
+ 'sync/driver/device_info_util.h', |
+ 'sync/driver/directory_data_type_controller.cc', |
+ 'sync/driver/directory_data_type_controller.h', |
+ 'sync/driver/frontend_data_type_controller.cc', |
+ 'sync/driver/frontend_data_type_controller.h', |
+ 'sync/driver/generic_change_processor.cc', |
+ 'sync/driver/generic_change_processor.h', |
+ 'sync/driver/generic_change_processor_factory.cc', |
+ 'sync/driver/generic_change_processor_factory.h', |
+ 'sync/driver/glue/browser_thread_model_worker.cc', |
+ 'sync/driver/glue/browser_thread_model_worker.h', |
+ 'sync/driver/glue/chrome_report_unrecoverable_error.cc', |
+ 'sync/driver/glue/chrome_report_unrecoverable_error.h', |
+ 'sync/driver/glue/sync_backend_host.cc', |
+ 'sync/driver/glue/sync_backend_host.h', |
+ 'sync/driver/glue/sync_backend_host_core.cc', |
+ 'sync/driver/glue/sync_backend_host_core.h', |
+ 'sync/driver/glue/sync_backend_host_impl.cc', |
+ 'sync/driver/glue/sync_backend_host_impl.h', |
+ 'sync/driver/glue/sync_backend_registrar.cc', |
+ 'sync/driver/glue/sync_backend_registrar.h', |
+ 'sync/driver/glue/ui_model_worker.cc', |
+ 'sync/driver/glue/ui_model_worker.h', |
+ 'sync/driver/invalidation_adapter.cc', |
+ 'sync/driver/invalidation_adapter.h', |
+ 'sync/driver/invalidation_helper.cc', |
+ 'sync/driver/invalidation_helper.h', |
+ 'sync/driver/local_device_info_provider.h', |
+ 'sync/driver/local_device_info_provider_impl.cc', |
+ 'sync/driver/local_device_info_provider_impl.h', |
+ 'sync/driver/model_association_manager.cc', |
+ 'sync/driver/model_association_manager.h', |
+ 'sync/driver/model_associator.h', |
+ 'sync/driver/non_blocking_data_type_controller.cc', |
+ 'sync/driver/non_blocking_data_type_controller.h', |
+ 'sync/driver/non_ui_data_type_controller.cc', |
+ 'sync/driver/non_ui_data_type_controller.h', |
+ 'sync/driver/non_ui_model_type_controller.cc', |
+ 'sync/driver/non_ui_model_type_controller.h', |
+ 'sync/driver/pref_names.cc', |
+ 'sync/driver/pref_names.h', |
+ 'sync/driver/profile_sync_auth_provider.cc', |
+ 'sync/driver/profile_sync_auth_provider.h', |
+ 'sync/driver/protocol_event_observer.cc', |
+ 'sync/driver/protocol_event_observer.h', |
+ 'sync/driver/proxy_data_type_controller.cc', |
+ 'sync/driver/proxy_data_type_controller.h', |
+ 'sync/driver/shared_change_processor.cc', |
+ 'sync/driver/shared_change_processor.h', |
+ 'sync/driver/shared_change_processor_ref.cc', |
+ 'sync/driver/shared_change_processor_ref.h', |
+ 'sync/driver/signin_manager_wrapper.cc', |
+ 'sync/driver/signin_manager_wrapper.h', |
+ 'sync/driver/startup_controller.cc', |
+ 'sync/driver/startup_controller.h', |
+ 'sync/driver/sync_api_component_factory.h', |
+ 'sync/driver/sync_client.cc', |
+ 'sync/driver/sync_client.h', |
+ 'sync/driver/sync_driver_switches.cc', |
+ 'sync/driver/sync_driver_switches.h', |
+ 'sync/driver/sync_error_controller.cc', |
+ 'sync/driver/sync_error_controller.h', |
+ 'sync/driver/sync_frontend.cc', |
+ 'sync/driver/sync_frontend.h', |
+ 'sync/driver/sync_prefs.cc', |
+ 'sync/driver/sync_prefs.h', |
+ 'sync/driver/sync_service.cc', |
+ 'sync/driver/sync_service.h', |
+ 'sync/driver/sync_service_observer.cc', |
+ 'sync/driver/sync_service_observer.h', |
+ 'sync/driver/sync_service_utils.cc', |
+ 'sync/driver/sync_service_utils.h', |
+ 'sync/driver/sync_stopped_reporter.cc', |
+ 'sync/driver/sync_stopped_reporter.h', |
+ 'sync/driver/sync_type_preference_provider.h', |
+ 'sync/driver/sync_util.cc', |
+ 'sync/driver/sync_util.h', |
+ 'sync/driver/system_encryptor.cc', |
+ 'sync/driver/system_encryptor.h', |
+ 'sync/driver/ui_data_type_controller.cc', |
+ 'sync/driver/ui_data_type_controller.h', |
+ 'sync/driver/ui_model_type_controller.cc', |
+ 'sync/driver/ui_model_type_controller.h', |
+ 'sync/driver/user_selectable_sync_type.h', |
], |
'conditions': [ |
@@ -507,6 +630,16 @@ |
'sync/android/sync_jni_registrar.h', |
], |
}], |
+ ['configuration_policy==1', { |
+ 'dependencies': [ |
+ 'components.gyp:policy', |
+ 'components.gyp:policy_component', |
+ ], |
+ 'sources': [ |
+ 'sync/driver/sync_policy_handler.cc', |
+ 'sync/driver/sync_policy_handler.h', |
+ ], |
+ }], |
], |
}, |
{ |