• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  'variables': {
7    'chromium_code': 1,
8  },
9
10  'targets': [
11  {
12    'target_name': 'sync_tools_helper',
13    'type': 'static_library',
14    'include_dirs': [
15      '../..',
16    ],
17    'dependencies': [
18      '../../base/base.gyp:base',
19      '../../components/components.gyp:invalidation',
20      '../sync.gyp:sync',
21    ],
22    'export_dependent_settings': [
23      '../../base/base.gyp:base',
24      '../sync.gyp:sync',
25    ],
26    'sources': [
27      'invalidation_helper.cc',
28      'invalidation_helper.h',
29      'null_invalidation_state_tracker.cc',
30      'null_invalidation_state_tracker.h',
31    ],
32  },
33  # A tool to listen to sync notifications and print them out.
34  {
35    'target_name': 'sync_listen_notifications',
36    'type': 'executable',
37    'defines': [
38      'SYNC_TEST',
39    ],
40    'dependencies': [
41      '../../base/base.gyp:base',
42      '../../components/components.gyp:invalidation',
43      '../../jingle/jingle.gyp:notifier',
44      '../../net/net.gyp:net',
45      '../../net/net.gyp:net_test_support',
46      '../sync.gyp:sync',
47      'sync_tools_helper',
48    ],
49    'sources': [
50      'sync_listen_notifications.cc',
51    ],
52  },
53
54  # A standalone command-line sync client.
55  {
56    'target_name': 'sync_client',
57    'type': 'executable',
58    'defines': [
59      'SYNC_TEST',
60    ],
61    'dependencies': [
62      '../../base/base.gyp:base',
63      '../../components/components.gyp:invalidation',
64      '../../jingle/jingle.gyp:notifier',
65      '../../net/net.gyp:net',
66      '../../net/net.gyp:net_test_support',
67      '../sync.gyp:sync',
68      '../sync.gyp:test_support_sync_core',
69      'sync_tools_helper',
70    ],
71    'sources': [
72      'sync_client.cc',
73    ],
74  },
75  ]
76}
77
78