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

Unified Diff: sync/sync.gyp

Issue 11971025: [sync] Divorce python sync test server chromiumsync.py from testserver.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup of dead pyauto code. Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
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',

Powered by Google App Engine
This is Rietveld 408576698