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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 '../testing/gmock.gyp:gmock', | 104 '../testing/gmock.gyp:gmock', |
105 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 105 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
106 'sync', | 106 'sync', |
107 ], | 107 ], |
108 'export_dependent_settings': [ | 108 'export_dependent_settings': [ |
109 '../testing/gmock.gyp:gmock', | 109 '../testing/gmock.gyp:gmock', |
110 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 110 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
111 'sync', | 111 'sync', |
112 ], | 112 ], |
113 'sources': [ | 113 'sources': [ |
| 114 'notifier/fake_invalidation_handler.cc', |
| 115 'notifier/fake_invalidation_handler.h', |
114 'notifier/fake_invalidation_state_tracker.cc', | 116 'notifier/fake_invalidation_state_tracker.cc', |
115 'notifier/fake_invalidation_state_tracker.h', | 117 'notifier/fake_invalidation_state_tracker.h', |
116 'notifier/fake_invalidator.cc', | 118 'notifier/fake_invalidator.cc', |
117 'notifier/fake_invalidator.h', | 119 'notifier/fake_invalidator.h', |
118 'notifier/fake_invalidation_handler.cc', | |
119 'notifier/fake_invalidation_handler.h', | |
120 'notifier/invalidator_test_template.cc', | 120 'notifier/invalidator_test_template.cc', |
121 'notifier/invalidator_test_template.h', | 121 'notifier/invalidator_test_template.h', |
122 'notifier/object_id_invalidation_map_test_util.cc', | |
123 'notifier/object_id_invalidation_map_test_util.h', | |
124 ], | 122 ], |
125 }, | 123 }, |
126 | 124 |
127 # Test support files for the 'sync_internal_api' target. | 125 # Test support files for the 'sync_internal_api' target. |
128 { | 126 { |
129 'target_name': 'test_support_sync_internal_api', | 127 'target_name': 'test_support_sync_internal_api', |
130 'type': 'static_library', | 128 'type': 'static_library', |
131 'variables': { 'enable_wexit_time_destructors': 1, }, | 129 'variables': { 'enable_wexit_time_destructors': 1, }, |
132 'include_dirs': [ | 130 'include_dirs': [ |
133 '..', | 131 '..', |
134 ], | 132 ], |
135 'defines': [ | 133 'defines': [ |
136 'SYNC_TEST' | 134 'SYNC_TEST' |
137 ], | 135 ], |
138 'dependencies': [ | 136 'dependencies': [ |
139 '../base/base.gyp:base', | 137 '../base/base.gyp:base', |
140 '../testing/gtest.gyp:gtest', | 138 '../testing/gtest.gyp:gtest', |
141 'sync', | 139 'sync', |
142 'test_support_sync_core', | 140 'test_support_sync_core', |
143 ], | 141 ], |
144 'export_dependent_settings': [ | 142 'export_dependent_settings': [ |
145 '../testing/gtest.gyp:gtest', | 143 '../testing/gtest.gyp:gtest', |
146 'sync', | 144 'sync', |
147 'test_support_sync_core', | 145 'test_support_sync_core', |
148 ], | 146 ], |
149 'sources': [ | 147 'sources': [ |
150 'internal_api/public/base/invalidation_test_util.cc', | 148 'internal_api/public/base/invalidation_test_util.cc', |
151 'internal_api/public/base/invalidation_test_util.h', | 149 'internal_api/public/base/invalidation_test_util.h', |
| 150 'internal_api/public/base/object_id_invalidation_map_test_util.cc', |
| 151 'internal_api/public/base/object_id_invalidation_map_test_util.h', |
152 'internal_api/public/test/fake_sync_manager.h', | 152 'internal_api/public/test/fake_sync_manager.h', |
153 'internal_api/public/test/test_entry_factory.h', | 153 'internal_api/public/test/test_entry_factory.h', |
154 'internal_api/public/test/test_internal_components_factory.h', | 154 'internal_api/public/test/test_internal_components_factory.h', |
155 'internal_api/public/test/test_user_share.h', | 155 'internal_api/public/test/test_user_share.h', |
156 'internal_api/test/fake_sync_manager.cc', | 156 'internal_api/test/fake_sync_manager.cc', |
157 'internal_api/test/test_entry_factory.cc', | 157 'internal_api/test/test_entry_factory.cc', |
158 'internal_api/test/test_internal_components_factory.cc', | 158 'internal_api/test/test_internal_components_factory.cc', |
159 'internal_api/test/test_user_share.cc', | 159 'internal_api/test/test_user_share.cc', |
160 ], | 160 ], |
161 }, | 161 }, |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 '..', | 324 '..', |
325 ], | 325 ], |
326 'conditions': [ | 326 'conditions': [ |
327 ['OS != "android"', { | 327 ['OS != "android"', { |
328 'sources': [ | 328 'sources': [ |
329 'notifier/ack_tracker_unittest.cc', | 329 'notifier/ack_tracker_unittest.cc', |
330 'notifier/fake_invalidator_unittest.cc', | 330 'notifier/fake_invalidator_unittest.cc', |
331 'notifier/invalidation_notifier_unittest.cc', | 331 'notifier/invalidation_notifier_unittest.cc', |
332 'notifier/invalidator_registrar_unittest.cc', | 332 'notifier/invalidator_registrar_unittest.cc', |
333 'notifier/non_blocking_invalidator_unittest.cc', | 333 'notifier/non_blocking_invalidator_unittest.cc', |
| 334 'notifier/object_id_invalidation_map_unittest.cc', |
| 335 'notifier/single_object_invalidation_set_unittest.cc', |
334 'notifier/p2p_invalidator_unittest.cc', | 336 'notifier/p2p_invalidator_unittest.cc', |
335 'notifier/push_client_channel_unittest.cc', | 337 'notifier/push_client_channel_unittest.cc', |
336 'notifier/registration_manager_unittest.cc', | 338 'notifier/registration_manager_unittest.cc', |
337 'notifier/sync_invalidation_listener_unittest.cc', | 339 'notifier/sync_invalidation_listener_unittest.cc', |
338 'notifier/sync_system_resources_unittest.cc', | 340 'notifier/sync_system_resources_unittest.cc', |
339 ], | 341 ], |
340 }], | 342 }], |
341 ], | 343 ], |
342 }, | 344 }, |
343 }, | 345 }, |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 'variables': { | 631 'variables': { |
630 'test_suite_name': 'sync_unit_tests', | 632 'test_suite_name': 'sync_unit_tests', |
631 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 633 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
632 }, | 634 }, |
633 'includes': [ '../build/apk_test.gypi' ], | 635 'includes': [ '../build/apk_test.gypi' ], |
634 }, | 636 }, |
635 ], | 637 ], |
636 }], | 638 }], |
637 ], | 639 ], |
638 } | 640 } |
OLD | NEW |