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

Side by Side Diff: sync/sync.gyp

Issue 9701094: [Sync] Clean up sync.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | sync/util/nigori.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 # The core sync library. 10 # The core sync library.
(...skipping 10 matching lines...) Expand all
21 ], 21 ],
22 'dependencies': [ 22 'dependencies': [
23 '../base/base.gyp:base', 23 '../base/base.gyp:base',
24 '../build/temp_gyp/googleurl.gyp:googleurl', 24 '../build/temp_gyp/googleurl.gyp:googleurl',
25 '../crypto/crypto.gyp:crypto', 25 '../crypto/crypto.gyp:crypto',
26 '../net/net.gyp:net', 26 '../net/net.gyp:net',
27 '../sql/sql.gyp:sql', 27 '../sql/sql.gyp:sql',
28 'protocol/sync_proto.gyp:sync_proto', 28 'protocol/sync_proto.gyp:sync_proto',
29 ], 29 ],
30 'export_dependent_settings': [ 30 'export_dependent_settings': [
31 '../base/base.gyp:base', 31 # Propagate sync_proto since our headers include its generated
32 '../build/temp_gyp/googleurl.gyp:googleurl', 32 # files.
33 '../crypto/crypto.gyp:crypto',
34 '../net/net.gyp:net',
35 '../sql/sql.gyp:sql',
36 'protocol/sync_proto.gyp:sync_proto', 33 'protocol/sync_proto.gyp:sync_proto',
37 ], 34 ],
38 'sources': [ 35 'sources': [
39 'engine/apply_updates_command.cc', 36 'engine/apply_updates_command.cc',
40 'engine/apply_updates_command.h', 37 'engine/apply_updates_command.h',
41 'engine/build_commit_command.cc', 38 'engine/build_commit_command.cc',
42 'engine/build_commit_command.h', 39 'engine/build_commit_command.h',
43 'engine/cleanup_disabled_types_command.cc', 40 'engine/cleanup_disabled_types_command.cc',
44 'engine/cleanup_disabled_types_command.h', 41 'engine/cleanup_disabled_types_command.h',
45 'engine/clear_data_command.cc', 42 'engine/clear_data_command.cc',
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 'target_name': 'test_support_sync', 187 'target_name': 'test_support_sync',
191 'type': 'static_library', 188 'type': 'static_library',
192 'variables': { 'enable_wexit_time_destructors': 1, }, 189 'variables': { 'enable_wexit_time_destructors': 1, },
193 'include_dirs': [ 190 'include_dirs': [
194 '..', 191 '..',
195 ], 192 ],
196 'dependencies': [ 193 'dependencies': [
197 '../base/base.gyp:base', 194 '../base/base.gyp:base',
198 '../testing/gmock.gyp:gmock', 195 '../testing/gmock.gyp:gmock',
199 '../testing/gtest.gyp:gtest', 196 '../testing/gtest.gyp:gtest',
197 'protocol/sync_proto.gyp:sync_proto',
200 'sync', 198 'sync',
201 ], 199 ],
202 'export_dependent_settings': [ 200 'export_dependent_settings': [
203 '../base/base.gyp:base',
204 '../testing/gmock.gyp:gmock', 201 '../testing/gmock.gyp:gmock',
205 '../testing/gtest.gyp:gtest', 202 '../testing/gtest.gyp:gtest',
203 'protocol/sync_proto.gyp:sync_proto',
206 'sync', 204 'sync',
207 ], 205 ],
208 'sources': [ 206 'sources': [
209 'js/js_test_util.cc', 207 'js/js_test_util.cc',
210 'js/js_test_util.h', 208 'js/js_test_util.h',
211 'sessions/test_util.cc', 209 'sessions/test_util.cc',
212 'sessions/test_util.h', 210 'sessions/test_util.h',
213 'syncable/model_type_test_util.cc', 211 'syncable/model_type_test_util.cc',
214 'syncable/model_type_test_util.h', 212 'syncable/model_type_test_util.h',
215 'syncable/syncable_mock.cc', 213 'syncable/syncable_mock.cc',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 # library because the unit test files have to be compiled directly 245 # library because the unit test files have to be compiled directly
248 # into the executable, so we push the target files to the 246 # into the executable, so we push the target files to the
249 # depending executable target via direct_dependent_settings. 247 # depending executable target via direct_dependent_settings.
250 { 248 {
251 'target_name': 'sync_tests', 249 'target_name': 'sync_tests',
252 'type': 'none', 250 'type': 'none',
253 # We only want unit test executables to include this target. 251 # We only want unit test executables to include this target.
254 'suppress_wildcard': 1, 252 'suppress_wildcard': 1,
255 'dependencies': [ 253 'dependencies': [
256 '../base/base.gyp:base', 254 '../base/base.gyp:base',
257 '../base/base.gyp:test_support_base',
258 '../testing/gmock.gyp:gmock', 255 '../testing/gmock.gyp:gmock',
259 '../testing/gtest.gyp:gtest', 256 '../testing/gtest.gyp:gtest',
257 'protocol/sync_proto.gyp:sync_proto',
260 'sync', 258 'sync',
261 'test_support_sync', 259 'test_support_sync',
262 ], 260 ],
261 # Propagate all dependencies since the actual compilation
262 # happens in the dependents.
263 'export_dependent_settings': [ 263 'export_dependent_settings': [
264 '../base/base.gyp:base', 264 '../base/base.gyp:base',
265 '../base/base.gyp:test_support_base',
266 '../testing/gmock.gyp:gmock', 265 '../testing/gmock.gyp:gmock',
267 '../testing/gtest.gyp:gtest', 266 '../testing/gtest.gyp:gtest',
267 'protocol/sync_proto.gyp:sync_proto',
268 'sync', 268 'sync',
269 'test_support_sync', 269 'test_support_sync',
270 ], 270 ],
271 'direct_dependent_settings': { 271 'direct_dependent_settings': {
272 'variables': { 'enable_wexit_time_destructors': 1, }, 272 'variables': { 'enable_wexit_time_destructors': 1, },
273 'include_dirs': [ 273 'include_dirs': [
274 '..', 274 '..',
275 ], 275 ],
276 'sources': [ 276 'sources': [
277 'engine/apply_updates_command_unittest.cc', 277 'engine/apply_updates_command_unittest.cc',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 # 328 #
329 # TODO(akalin): Rename this to sync_unit_tests once we've moved 329 # TODO(akalin): Rename this to sync_unit_tests once we've moved
330 # everything from chrome.gyp. 330 # everything from chrome.gyp.
331 { 331 {
332 'target_name': 'sync_unit_tests_canary', 332 'target_name': 'sync_unit_tests_canary',
333 'type': 'executable', 333 'type': 'executable',
334 'dependencies': [ 334 'dependencies': [
335 '../base/base.gyp:run_all_unittests', 335 '../base/base.gyp:run_all_unittests',
336 'sync_tests', 336 'sync_tests',
337 ], 337 ],
338
339 # TODO(akalin): This is needed because histogram.cc uses 338 # TODO(akalin): This is needed because histogram.cc uses
340 # leak_annotations.h, which pulls this in. Make 'base' 339 # leak_annotations.h, which pulls this in. Make 'base'
341 # propagate this dependency. 340 # propagate this dependency.
342 'conditions': [ 341 'conditions': [
343 ['OS=="linux" and linux_use_tcmalloc==1', { 342 ['OS=="linux" and linux_use_tcmalloc==1', {
344 'dependencies': [ 343 'dependencies': [
345 '../base/allocator/allocator.gyp:allocator', 344 '../base/allocator/allocator.gyp:allocator',
346 ], 345 ],
347 }], 346 }],
348 ], 347 ],
349 }, 348 },
350 ], 349 ],
351 } 350 }
OLDNEW
« no previous file with comments | « no previous file | sync/util/nigori.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698