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

Side by Side Diff: sync/tools/sync_tools.gyp

Issue 1310323009: Merge duplicate code in invalidation helper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « sync/tools/sync_listen_notifications.cc ('k') | no next file » | 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 9
10 'targets': [ 10 'targets': [
11 { 11 {
12 # GN: //sync/tools:common 12 # GN: //sync/tools:common
13 'target_name': 'sync_tools_helper', 13 'target_name': 'sync_tools_helper',
14 'type': 'static_library', 14 'type': 'static_library',
15 'include_dirs': [ 15 'include_dirs': [
16 '../..', 16 '../..',
17 ], 17 ],
18 'dependencies': [ 18 'dependencies': [
19 '../../base/base.gyp:base', 19 '../../base/base.gyp:base',
20 '../../components/components.gyp:invalidation_impl', 20 '../../components/components.gyp:invalidation_impl',
21 '../sync.gyp:sync', 21 '../sync.gyp:sync',
22 ], 22 ],
23 'export_dependent_settings': [ 23 'export_dependent_settings': [
24 '../../base/base.gyp:base', 24 '../../base/base.gyp:base',
25 '../sync.gyp:sync', 25 '../sync.gyp:sync',
26 ], 26 ],
27 'sources': [ 27 'sources': [
28 'invalidation_helper.cc',
29 'invalidation_helper.h',
30 'null_invalidation_state_tracker.cc', 28 'null_invalidation_state_tracker.cc',
31 'null_invalidation_state_tracker.h', 29 'null_invalidation_state_tracker.h',
32 ], 30 ],
33 }, 31 },
34 # A tool to listen to sync notifications and print them out. 32 # A tool to listen to sync notifications and print them out.
35 { 33 {
36 # GN: //sync/tools:sync_listen_notifications 34 # GN: //sync/tools:sync_listen_notifications
37 'target_name': 'sync_listen_notifications', 35 'target_name': 'sync_listen_notifications',
38 'type': 'executable', 36 'type': 'executable',
39 'defines': [ 37 'defines': [
40 'SYNC_TEST', 38 'SYNC_TEST',
41 ], 39 ],
42 'dependencies': [ 40 'dependencies': [
43 '../../base/base.gyp:base', 41 '../../base/base.gyp:base',
44 '../../components/components.gyp:invalidation_impl', 42 '../../components/components.gyp:invalidation_impl',
43 '../../components/components.gyp:sync_driver',
45 '../../jingle/jingle.gyp:notifier', 44 '../../jingle/jingle.gyp:notifier',
46 '../../net/net.gyp:net', 45 '../../net/net.gyp:net',
47 '../../net/net.gyp:net_test_support', 46 '../../net/net.gyp:net_test_support',
48 '../sync.gyp:sync', 47 '../sync.gyp:sync',
49 'sync_tools_helper', 48 'sync_tools_helper',
50 ], 49 ],
51 'sources': [ 50 'sources': [
52 'sync_listen_notifications.cc', 51 'sync_listen_notifications.cc',
53 ], 52 ],
54 }, 53 },
55 54
56 # A standalone command-line sync client. 55 # A standalone command-line sync client.
57 { 56 {
58 # GN: //sync/tools:sync_client 57 # GN: //sync/tools:sync_client
59 'target_name': 'sync_client', 58 'target_name': 'sync_client',
60 'type': 'executable', 59 'type': 'executable',
61 'defines': [ 60 'defines': [
62 'SYNC_TEST', 61 'SYNC_TEST',
63 ], 62 ],
64 'dependencies': [ 63 'dependencies': [
65 '../../base/base.gyp:base', 64 '../../base/base.gyp:base',
66 '../../components/components.gyp:invalidation_impl', 65 '../../components/components.gyp:invalidation_impl',
66 '../../components/components.gyp:sync_driver',
67 '../../jingle/jingle.gyp:notifier', 67 '../../jingle/jingle.gyp:notifier',
68 '../../net/net.gyp:net', 68 '../../net/net.gyp:net',
69 '../../net/net.gyp:net_test_support', 69 '../../net/net.gyp:net_test_support',
70 '../sync.gyp:sync', 70 '../sync.gyp:sync',
71 '../sync.gyp:test_support_sync_core', 71 '../sync.gyp:test_support_sync_core',
72 'sync_tools_helper', 72 'sync_tools_helper',
73 ], 73 ],
74 'sources': [ 74 'sources': [
75 'sync_client.cc', 75 'sync_client.cc',
76 ], 76 ],
77 }, 77 },
78 ] 78 ]
79 } 79 }
80 80
OLDNEW
« no previous file with comments | « sync/tools/sync_listen_notifications.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698