| 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN version: //components/sync_driver | 8 # GN version: //components/sync_driver |
| 9 'target_name': 'sync_driver', | 9 'target_name': 'sync_driver', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| 11 'dependencies': [ | 11 'dependencies': [ |
| 12 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
| 13 '../net/net.gyp:net', | 13 '../net/net.gyp:net', |
| 14 '../sync/sync.gyp:sync', | 14 '../sync/sync.gyp:sync', |
| 15 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 15 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
| 16 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 16 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
| 17 'data_use_measurement_core', | 17 'data_use_measurement_core', |
| 18 'invalidation_public', | 18 'invalidation_public', |
| 19 'os_crypt', | 19 'os_crypt', |
| 20 'signin_core_browser', | 20 'signin_core_browser', |
| 21 'sync_driver_features', | |
| 22 'version_info', | 21 'version_info', |
| 23 ], | 22 ], |
| 24 'include_dirs': [ | 23 'include_dirs': [ |
| 25 '..', | 24 '..', |
| 26 ], | 25 ], |
| 27 'sources': [ | 26 'sources': [ |
| 28 # Note: file list duplicated in GN build. | 27 # Note: file list duplicated in GN build. |
| 29 'sync_driver/about_sync_util.cc', | 28 'sync_driver/about_sync_util.cc', |
| 30 'sync_driver/about_sync_util.h', | 29 'sync_driver/about_sync_util.h', |
| 31 'sync_driver/backend_data_type_configurer.cc', | 30 'sync_driver/backend_data_type_configurer.cc', |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 'policy_component', | 145 'policy_component', |
| 147 ], | 146 ], |
| 148 'sources': [ | 147 'sources': [ |
| 149 'sync_driver/sync_policy_handler.cc', | 148 'sync_driver/sync_policy_handler.cc', |
| 150 'sync_driver/sync_policy_handler.h', | 149 'sync_driver/sync_policy_handler.h', |
| 151 ], | 150 ], |
| 152 }], | 151 }], |
| 153 ], | 152 ], |
| 154 }, | 153 }, |
| 155 { | 154 { |
| 156 # GN version: //components/sync_driver:features | |
| 157 'target_name': 'sync_driver_features', | |
| 158 'includes': [ '../build/buildflag_header.gypi' ], | |
| 159 'variables': { | |
| 160 'buildflag_header_path': 'components/sync_driver/sync_driver_features.h'
, | |
| 161 'variables': { | |
| 162 'conditions': [ | |
| 163 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { | |
| 164 'enable_pre_sync_backup%': 1, | |
| 165 }, { | |
| 166 'enable_pre_sync_backup%': 0, | |
| 167 }], | |
| 168 ], | |
| 169 }, | |
| 170 'buildflag_flags': [ | |
| 171 "ENABLE_PRE_SYNC_BACKUP=<(enable_pre_sync_backup)", | |
| 172 ], | |
| 173 }, | |
| 174 }, | |
| 175 { | |
| 176 'target_name': 'sync_driver_test_support', | 155 'target_name': 'sync_driver_test_support', |
| 177 'type': 'static_library', | 156 'type': 'static_library', |
| 178 'dependencies': [ | 157 'dependencies': [ |
| 179 'sync_driver', | 158 'sync_driver', |
| 180 'version_info', | 159 'version_info', |
| 181 '../base/base.gyp:base', | 160 '../base/base.gyp:base', |
| 182 '../sync/sync.gyp:sync', | 161 '../sync/sync.gyp:sync', |
| 183 '../sync/sync.gyp:test_support_sync_internal_api', | 162 '../sync/sync.gyp:test_support_sync_internal_api', |
| 184 '../testing/gmock.gyp:gmock', | 163 '../testing/gmock.gyp:gmock', |
| 185 '../testing/gtest.gyp:gtest', | 164 '../testing/gtest.gyp:gtest', |
| (...skipping 29 matching lines...) Expand all Loading... |
| 215 'sync_driver/non_frontend_data_type_controller_mock.cc', | 194 'sync_driver/non_frontend_data_type_controller_mock.cc', |
| 216 'sync_driver/non_frontend_data_type_controller_mock.h', | 195 'sync_driver/non_frontend_data_type_controller_mock.h', |
| 217 'sync_driver/non_ui_data_type_controller_mock.cc', | 196 'sync_driver/non_ui_data_type_controller_mock.cc', |
| 218 'sync_driver/non_ui_data_type_controller_mock.h', | 197 'sync_driver/non_ui_data_type_controller_mock.h', |
| 219 'sync_driver/sync_api_component_factory_mock.cc', | 198 'sync_driver/sync_api_component_factory_mock.cc', |
| 220 'sync_driver/sync_api_component_factory_mock.h', | 199 'sync_driver/sync_api_component_factory_mock.h', |
| 221 ], | 200 ], |
| 222 }, | 201 }, |
| 223 ], | 202 ], |
| 224 } | 203 } |
| OLD | NEW |