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 3 # found in the LICENSE file. 4 5 { 6 'targets': [ 7 { 8 'target_name': 'sync_driver', 9 'type': 'static_library', 10 'dependencies': [ 11 '../base/base.gyp:base', 12 '../sync/sync.gyp:sync', 13 'os_crypt', 14 ], 15 'include_dirs': [ 16 '..', 17 ], 18 'sources': [ 19 'sync_driver/backend_data_type_configurer.cc', 20 'sync_driver/backend_data_type_configurer.h', 21 'sync_driver/change_processor.cc', 22 'sync_driver/change_processor.h', 23 'sync_driver/data_type_controller.cc', 24 'sync_driver/data_type_controller.h', 25 'sync_driver/data_type_encryption_handler.cc', 26 'sync_driver/data_type_encryption_handler.h', 27 'sync_driver/data_type_error_handler.h', 28 'sync_driver/data_type_manager.cc', 29 'sync_driver/data_type_manager.h', 30 'sync_driver/data_type_manager_impl.cc', 31 'sync_driver/data_type_manager_impl.h', 32 'sync_driver/data_type_manager_observer.h', 33 'sync_driver/failed_data_types_handler.cc', 34 'sync_driver/failed_data_types_handler.h', 35 'sync_driver/generic_change_processor.cc', 36 'sync_driver/generic_change_processor.h', 37 'sync_driver/generic_change_processor_factory.cc', 38 'sync_driver/generic_change_processor_factory.h', 39 'sync_driver/model_association_manager.cc', 40 'sync_driver/model_association_manager.h', 41 'sync_driver/model_associator.h', 42 'sync_driver/non_blocking_data_type_controller.cc', 43 'sync_driver/non_blocking_data_type_controller.h', 44 'sync_driver/non_blocking_data_type_manager.cc', 45 'sync_driver/non_blocking_data_type_manager.h', 46 'sync_driver/non_ui_data_type_controller.cc', 47 'sync_driver/non_ui_data_type_controller.h', 48 'sync_driver/pref_names.cc', 49 'sync_driver/pref_names.h', 50 'sync_driver/proxy_data_type_controller.cc', 51 'sync_driver/proxy_data_type_controller.h', 52 'sync_driver/sync_api_component_factory.h', 53 'sync_driver/shared_change_processor.cc', 54 'sync_driver/shared_change_processor.h', 55 'sync_driver/shared_change_processor_ref.cc', 56 'sync_driver/shared_change_processor_ref.h', 57 'sync_driver/sync_frontend.cc', 58 'sync_driver/sync_frontend.h', 59 'sync_driver/sync_prefs.cc', 60 'sync_driver/sync_prefs.h', 61 'sync_driver/system_encryptor.cc', 62 'sync_driver/system_encryptor.h', 63 'sync_driver/ui_data_type_controller.cc', 64 'sync_driver/ui_data_type_controller.h', 65 'sync_driver/user_selectable_sync_type.h', 66 ], 67 }, 68 { 69 'target_name': 'sync_driver_test_support', 70 'type': 'static_library', 71 'dependencies': [ 72 'sync_driver', 73 '../base/base.gyp:base', 74 '../sync/sync.gyp:sync', 75 '../sync/sync.gyp:test_support_sync_internal_api', 76 '../testing/gmock.gyp:gmock', 77 '../testing/gtest.gyp:gtest', 78 ], 79 'include_dirs': [ 80 '..', 81 ], 82 'sources': [ 83 'sync_driver/change_processor_mock.cc', 84 'sync_driver/change_processor_mock.h', 85 'sync_driver/data_type_controller_mock.cc', 86 'sync_driver/data_type_controller_mock.h', 87 'sync_driver/data_type_error_handler_mock.cc', 88 'sync_driver/data_type_error_handler_mock.h', 89 'sync_driver/data_type_manager_mock.cc', 90 'sync_driver/data_type_manager_mock.h', 91 'sync_driver/fake_data_type_controller.cc', 92 'sync_driver/fake_data_type_controller.h', 93 'sync_driver/fake_generic_change_processor.cc', 94 'sync_driver/fake_generic_change_processor.h', 95 'sync_driver/model_associator_mock.cc', 96 'sync_driver/model_associator_mock.h', 97 'sync_driver/non_ui_data_type_controller_mock.cc', 98 'sync_driver/non_ui_data_type_controller_mock.h', 99 ], 100 }, 101 ], 102 } 103