Index: sync/tools/sync_tools.gyp |
diff --git a/sync/tools/sync_tools.gyp b/sync/tools/sync_tools.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7cc8352e94af0d9b6d0d5f23736f21662fc09a5c |
--- /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', |
+ ], |
+ }, |
+ ] |
+} |
+ |