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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 # The core sync library. 10 # The core sync library.
11 { 11 {
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 'test/null_transaction_observer.cc', 516 'test/null_transaction_observer.cc',
517 'test/null_transaction_observer.h', 517 'test/null_transaction_observer.h',
518 'test/sessions/test_scoped_session_event_listener.h', 518 'test/sessions/test_scoped_session_event_listener.h',
519 'test/test_directory_backing_store.cc', 519 'test/test_directory_backing_store.cc',
520 'test/test_directory_backing_store.h', 520 'test/test_directory_backing_store.h',
521 'util/test_unrecoverable_error_handler.cc', 521 'util/test_unrecoverable_error_handler.cc',
522 'util/test_unrecoverable_error_handler.h', 522 'util/test_unrecoverable_error_handler.h',
523 ], 523 ],
524 }, 524 },
525 525
526 # Test support files for the python sync test server.
527 {
528 'target_name': 'test_support_sync_testserver',
529 'type': 'static_library',
530 'variables': { 'enable_wexit_time_destructors': 1, },
531 'include_dirs': [
532 '..',
533 ],
534 'dependencies': [
535 '../base/base.gyp:base',
536 '../net/net.gyp:net_test_support',
537
538 # The sync test server uses Python modules generated by the sync protos.
539 '../third_party/protobuf/protobuf.gyp:py_proto',
540 'protocol/sync_proto.gyp:sync_proto',
541 ],
542 'export_dependent_settings': [
543 '../base/base.gyp:base',
544 '../net/net.gyp:net_test_support',
545 ],
546 'sources': [
547 'test/local_sync_test_server.cc',
548 'test/local_sync_test_server.h',
549 ],
550 },
551
526 # Test support files for the 'sync_notifier' target. 552 # Test support files for the 'sync_notifier' target.
527 { 553 {
528 'target_name': 'test_support_sync_notifier', 554 'target_name': 'test_support_sync_notifier',
529 'type': 'static_library', 555 'type': 'static_library',
530 'include_dirs': [ 556 'include_dirs': [
531 '..', 557 '..',
532 ], 558 ],
533 'dependencies': [ 559 'dependencies': [
534 '../testing/gmock.gyp:gmock', 560 '../testing/gmock.gyp:gmock',
535 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n_proto_cpp', 561 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio n_proto_cpp',
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 ], 967 ],
942 'export_dependent_settings': [ 968 'export_dependent_settings': [
943 '../base/base.gyp:base', 969 '../base/base.gyp:base',
944 'sync_notifier', 970 'sync_notifier',
945 ], 971 ],
946 'sources': [ 972 'sources': [
947 'tools/null_invalidation_state_tracker.cc', 973 'tools/null_invalidation_state_tracker.cc',
948 'tools/null_invalidation_state_tracker.h', 974 'tools/null_invalidation_state_tracker.h',
949 ], 975 ],
950 }, 976 },
977
978 # A tool that can be used to launch a python sync server instance.
979 {
980 'target_name': 'run_sync_testserver',
981 'type': 'executable',
982 'dependencies': [
983 '../base/base.gyp:base',
984 '../base/base.gyp:test_support_base',
985 '../net/net.gyp:net_test_support',
986 '../testing/gtest.gyp:gtest',
987 'test_support_sync_testserver',
988 ],
989 'sources': [
990 'tools/testserver/run_sync_testserver.cc',
991 ],
992 },
993
951 # A tool to listen to sync notifications and print them out. 994 # A tool to listen to sync notifications and print them out.
952 { 995 {
953 'target_name': 'sync_listen_notifications', 996 'target_name': 'sync_listen_notifications',
954 'type': 'executable', 997 'type': 'executable',
955 'dependencies': [ 998 'dependencies': [
956 '../base/base.gyp:base', 999 '../base/base.gyp:base',
957 '../jingle/jingle.gyp:notifier', 1000 '../jingle/jingle.gyp:notifier',
958 '../net/net.gyp:net', 1001 '../net/net.gyp:net',
959 '../net/net.gyp:net_test_support', 1002 '../net/net.gyp:net_test_support',
960 'sync', 1003 'sync',
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 'variables': { 1074 'variables': {
1032 'test_suite_name': 'sync_unit_tests', 1075 'test_suite_name': 'sync_unit_tests',
1033 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', 1076 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)',
1034 }, 1077 },
1035 'includes': [ '../build/apk_test.gypi' ], 1078 'includes': [ '../build/apk_test.gypi' ],
1036 }, 1079 },
1037 ], 1080 ],
1038 }], 1081 }],
1039 ], 1082 ],
1040 } 1083 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698