diff options
Diffstat (limited to 'sync/tools/sync_tools.gyp')
-rw-r--r-- | sync/tools/sync_tools.gyp | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/sync/tools/sync_tools.gyp b/sync/tools/sync_tools.gyp new file mode 100644 index 0000000..7cc8352 --- /dev/null +++ b/sync/tools/sync_tools.gyp @@ -0,0 +1,75 @@ +# Copyright 2014 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'variables': { + 'chromium_code': 1, + }, + + 'targets': [ + { + 'target_name': 'sync_tools_helper', + 'type': 'static_library', + 'defines': [ + 'SYNC_IMPLEMENTATION', + ], + 'include_dirs': [ + '../..', + ], + 'dependencies': [ + '../../base/base.gyp:base', + '../sync.gyp:sync', + ], + 'export_dependent_settings': [ + '../../base/base.gyp:base', + '../sync.gyp:sync', + ], + 'sources': [ + 'null_invalidation_state_tracker.cc', + 'null_invalidation_state_tracker.h', + ], + }, + # A tool to listen to sync notifications and print them out. + { + 'target_name': 'sync_listen_notifications', + 'type': 'executable', + 'defines': [ + 'SYNC_TEST', + ], + 'dependencies': [ + '../../base/base.gyp:base', + '../../jingle/jingle.gyp:notifier', + '../../net/net.gyp:net', + '../../net/net.gyp:net_test_support', + '../sync.gyp:sync', + 'sync_tools_helper', + ], + 'sources': [ + 'sync_listen_notifications.cc', + ], + }, + + # A standalone command-line sync client. + { + 'target_name': 'sync_client', + 'type': 'executable', + 'defines': [ + 'SYNC_TEST', + ], + 'dependencies': [ + '../../base/base.gyp:base', + '../../jingle/jingle.gyp:notifier', + '../../net/net.gyp:net', + '../../net/net.gyp:net_test_support', + '../sync.gyp:sync', + '../sync.gyp:test_support_sync_core', + 'sync_tools_helper', + ], + 'sources': [ + 'sync_client.cc', + ], + }, + ] +} + |