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

Side by Side Diff: components/sync_driver.gypi

Issue 1487873003: Convert enable_pre_sync_backup flag to new flags system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Created 5 years 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 unified diff | Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/sync_driver/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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',
21 'version_info', 22 'version_info',
22 ], 23 ],
23 'include_dirs': [ 24 'include_dirs': [
24 '..', 25 '..',
25 ], 26 ],
26 'sources': [ 27 'sources': [
27 # Note: file list duplicated in GN build. 28 # Note: file list duplicated in GN build.
28 'sync_driver/about_sync_util.cc', 29 'sync_driver/about_sync_util.cc',
29 'sync_driver/about_sync_util.h', 30 'sync_driver/about_sync_util.h',
30 'sync_driver/backend_data_type_configurer.cc', 31 'sync_driver/backend_data_type_configurer.cc',
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 'policy_component', 146 'policy_component',
146 ], 147 ],
147 'sources': [ 148 'sources': [
148 'sync_driver/sync_policy_handler.cc', 149 'sync_driver/sync_policy_handler.cc',
149 'sync_driver/sync_policy_handler.h', 150 'sync_driver/sync_policy_handler.h',
150 ], 151 ],
151 }], 152 }],
152 ], 153 ],
153 }, 154 },
154 { 155 {
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 {
155 'target_name': 'sync_driver_test_support', 176 'target_name': 'sync_driver_test_support',
156 'type': 'static_library', 177 'type': 'static_library',
157 'dependencies': [ 178 'dependencies': [
158 'sync_driver', 179 'sync_driver',
159 'version_info', 180 'version_info',
160 '../base/base.gyp:base', 181 '../base/base.gyp:base',
161 '../sync/sync.gyp:sync', 182 '../sync/sync.gyp:sync',
162 '../sync/sync.gyp:test_support_sync_internal_api', 183 '../sync/sync.gyp:test_support_sync_internal_api',
163 '../testing/gmock.gyp:gmock', 184 '../testing/gmock.gyp:gmock',
164 '../testing/gtest.gyp:gtest', 185 '../testing/gtest.gyp:gtest',
(...skipping 29 matching lines...) Expand all
194 'sync_driver/non_frontend_data_type_controller_mock.cc', 215 'sync_driver/non_frontend_data_type_controller_mock.cc',
195 'sync_driver/non_frontend_data_type_controller_mock.h', 216 'sync_driver/non_frontend_data_type_controller_mock.h',
196 'sync_driver/non_ui_data_type_controller_mock.cc', 217 'sync_driver/non_ui_data_type_controller_mock.cc',
197 'sync_driver/non_ui_data_type_controller_mock.h', 218 'sync_driver/non_ui_data_type_controller_mock.h',
198 'sync_driver/sync_api_component_factory_mock.cc', 219 'sync_driver/sync_api_component_factory_mock.cc',
199 'sync_driver/sync_api_component_factory_mock.h', 220 'sync_driver/sync_api_component_factory_mock.h',
200 ], 221 ],
201 }, 222 },
202 ], 223 ],
203 } 224 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/sync_driver/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698