OLD | NEW |
1 # Copyright 2013 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 'targets': [ | 6 'targets': [ |
7 # Test support files for the 'sync_core' target. | 7 # Test support files for the 'sync_core' target. |
8 { | 8 { |
9 'target_name': 'test_support_sync_core', | 9 'target_name': 'test_support_sync_core', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 'export_dependent_settings': [ | 83 'export_dependent_settings': [ |
84 '../base/base.gyp:base', | 84 '../base/base.gyp:base', |
85 '../net/net.gyp:net_test_support', | 85 '../net/net.gyp:net_test_support', |
86 ], | 86 ], |
87 'sources': [ | 87 'sources': [ |
88 'test/local_sync_test_server.cc', | 88 'test/local_sync_test_server.cc', |
89 'test/local_sync_test_server.h', | 89 'test/local_sync_test_server.h', |
90 ], | 90 ], |
91 }, | 91 }, |
92 | 92 |
| 93 # Test support files for the fake sync server. |
| 94 { |
| 95 'target_name': 'test_support_sync_fake_server', |
| 96 'type': 'static_library', |
| 97 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 98 'include_dirs': [ |
| 99 '..', |
| 100 ], |
| 101 'dependencies': [ |
| 102 '../base/base.gyp:base', |
| 103 'sync_internal_api', |
| 104 'sync_proto', |
| 105 ], |
| 106 'export_dependent_settings': [ |
| 107 'sync_internal_api', |
| 108 'sync_proto', |
| 109 ], |
| 110 'sources': [ |
| 111 'test/fake_server/fake_server.h', |
| 112 'test/fake_server/fake_server.cc', |
| 113 'test/fake_server/fake_server_http_post_provider.h', |
| 114 'test/fake_server/fake_server_http_post_provider.cc', |
| 115 'test/fake_server/fake_server_network_resources.h', |
| 116 'test/fake_server/fake_server_network_resources.cc', |
| 117 ], |
| 118 }, |
| 119 |
93 # Test support files for the 'sync_notifier' target. | 120 # Test support files for the 'sync_notifier' target. |
94 { | 121 { |
95 'target_name': 'test_support_sync_notifier', | 122 'target_name': 'test_support_sync_notifier', |
96 'type': 'static_library', | 123 'type': 'static_library', |
97 'include_dirs': [ | 124 'include_dirs': [ |
98 '..', | 125 '..', |
99 ], | 126 ], |
100 'defines': [ | 127 'defines': [ |
101 'SYNC_TEST' | 128 'SYNC_TEST' |
102 ], | 129 ], |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 'variables': { | 646 'variables': { |
620 'test_suite_name': 'sync_unit_tests', | 647 'test_suite_name': 'sync_unit_tests', |
621 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 648 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
622 }, | 649 }, |
623 'includes': [ '../build/apk_test.gypi' ], | 650 'includes': [ '../build/apk_test.gypi' ], |
624 }, | 651 }, |
625 ], | 652 ], |
626 }], | 653 }], |
627 ], | 654 ], |
628 } | 655 } |
OLD | NEW |