Index: sync/sync.gyp |
diff --git a/sync/sync.gyp b/sync/sync.gyp |
index 7caf784304d1db9bb99a9d016cc65bae8023e972..984f5434948497028be6ef5b67f51860516d8f30 100644 |
--- a/sync/sync.gyp |
+++ b/sync/sync.gyp |
@@ -1,4 +1,4 @@ |
-# Copyright 2012 The Chromium Authors. All rights reserved. |
+# Copyright 2013 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. |
@@ -523,6 +523,32 @@ |
], |
}, |
+ # Test support files for the python sync test server. |
+ { |
+ 'target_name': 'test_support_sync_testserver', |
+ 'type': 'static_library', |
+ 'variables': { 'enable_wexit_time_destructors': 1, }, |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../net/net.gyp:net_test_support', |
+ |
+ # The sync test server uses Python modules generated by the sync protos. |
+ '../third_party/protobuf/protobuf.gyp:py_proto', |
+ 'protocol/sync_proto.gyp:sync_proto', |
+ ], |
+ 'export_dependent_settings': [ |
+ '../base/base.gyp:base', |
+ '../net/net.gyp:net_test_support', |
+ ], |
+ 'sources': [ |
+ 'test/local_sync_test_server.cc', |
+ 'test/local_sync_test_server.h', |
+ ], |
+ }, |
+ |
# Test support files for the 'sync_notifier' target. |
{ |
'target_name': 'test_support_sync_notifier', |
@@ -948,6 +974,23 @@ |
'tools/null_invalidation_state_tracker.h', |
], |
}, |
+ |
+ # A tool that can be used to launch a python sync server instance. |
+ { |
+ 'target_name': 'run_sync_testserver', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../base/base.gyp:test_support_base', |
+ '../net/net.gyp:net_test_support', |
+ '../testing/gtest.gyp:gtest', |
+ 'test_support_sync_testserver', |
+ ], |
+ 'sources': [ |
+ 'tools/testserver/run_sync_testserver.cc', |
+ ], |
+ }, |
+ |
# A tool to listen to sync notifications and print them out. |
{ |
'target_name': 'sync_listen_notifications', |