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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 ], | 114 ], |
115 'sources': [ | 115 'sources': [ |
116 'notifier/fake_invalidation_handler.cc', | 116 'notifier/fake_invalidation_handler.cc', |
117 'notifier/fake_invalidation_handler.h', | 117 'notifier/fake_invalidation_handler.h', |
118 'notifier/fake_invalidation_state_tracker.cc', | 118 'notifier/fake_invalidation_state_tracker.cc', |
119 'notifier/fake_invalidation_state_tracker.h', | 119 'notifier/fake_invalidation_state_tracker.h', |
120 'notifier/fake_invalidator.cc', | 120 'notifier/fake_invalidator.cc', |
121 'notifier/fake_invalidator.h', | 121 'notifier/fake_invalidator.h', |
122 'notifier/invalidator_test_template.cc', | 122 'notifier/invalidator_test_template.cc', |
123 'notifier/invalidator_test_template.h', | 123 'notifier/invalidator_test_template.h', |
124 'notifier/mock_ack_handler.cc', | 124 'notifier/unacked_invalidation_set_test_util.cc', |
125 'notifier/mock_ack_handler.h', | 125 'notifier/unacked_invalidation_set_test_util.h', |
| 126 'internal_api/public/base/object_id_invalidation_map_test_util.h', |
| 127 'internal_api/public/base/object_id_invalidation_map_test_util.cc', |
126 ], | 128 ], |
127 }, | 129 }, |
128 | 130 |
129 # Test support files for the 'sync_internal_api' target. | 131 # Test support files for the 'sync_internal_api' target. |
130 { | 132 { |
131 'target_name': 'test_support_sync_internal_api', | 133 'target_name': 'test_support_sync_internal_api', |
132 'type': 'static_library', | 134 'type': 'static_library', |
133 'variables': { 'enable_wexit_time_destructors': 1, }, | 135 'variables': { 'enable_wexit_time_destructors': 1, }, |
134 'include_dirs': [ | 136 'include_dirs': [ |
135 '..', | 137 '..', |
136 ], | 138 ], |
137 'defines': [ | 139 'defines': [ |
138 'SYNC_TEST' | 140 'SYNC_TEST' |
139 ], | 141 ], |
140 'dependencies': [ | 142 'dependencies': [ |
141 '../base/base.gyp:base', | 143 '../base/base.gyp:base', |
142 '../testing/gtest.gyp:gtest', | 144 '../testing/gtest.gyp:gtest', |
143 'sync', | 145 'sync', |
144 'test_support_sync_core', | 146 'test_support_sync_core', |
145 ], | 147 ], |
146 'export_dependent_settings': [ | 148 'export_dependent_settings': [ |
147 '../testing/gtest.gyp:gtest', | 149 '../testing/gtest.gyp:gtest', |
148 'sync', | 150 'sync', |
149 'test_support_sync_core', | 151 'test_support_sync_core', |
150 ], | 152 ], |
151 'sources': [ | 153 'sources': [ |
152 'internal_api/public/base/invalidation_test_util.cc', | 154 'internal_api/public/base/invalidation_test_util.cc', |
153 'internal_api/public/base/invalidation_test_util.h', | 155 'internal_api/public/base/invalidation_test_util.h', |
154 'internal_api/public/base/object_id_invalidation_map_test_util.cc', | |
155 'internal_api/public/base/object_id_invalidation_map_test_util.h', | |
156 'internal_api/public/test/fake_sync_manager.h', | 156 'internal_api/public/test/fake_sync_manager.h', |
157 'internal_api/public/test/sync_manager_factory_for_profile_sync_test.h', | 157 'internal_api/public/test/sync_manager_factory_for_profile_sync_test.h', |
158 'internal_api/public/test/test_entry_factory.h', | 158 'internal_api/public/test/test_entry_factory.h', |
159 'internal_api/public/test/test_internal_components_factory.h', | 159 'internal_api/public/test/test_internal_components_factory.h', |
160 'internal_api/public/test/test_user_share.h', | 160 'internal_api/public/test/test_user_share.h', |
161 'internal_api/test/fake_sync_manager.cc', | 161 'internal_api/test/fake_sync_manager.cc', |
162 'internal_api/test/sync_manager_factory_for_profile_sync_test.cc', | 162 'internal_api/test/sync_manager_factory_for_profile_sync_test.cc', |
163 'internal_api/test/sync_manager_for_profile_sync_test.cc', | 163 'internal_api/test/sync_manager_for_profile_sync_test.cc', |
164 'internal_api/test/sync_manager_for_profile_sync_test.h', | 164 'internal_api/test/sync_manager_for_profile_sync_test.h', |
165 'internal_api/test/test_entry_factory.cc', | 165 'internal_api/test/test_entry_factory.cc', |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 'sync', | 311 'sync', |
312 'test_support_sync_notifier', | 312 'test_support_sync_notifier', |
313 ], | 313 ], |
314 'direct_dependent_settings': { | 314 'direct_dependent_settings': { |
315 'include_dirs': [ | 315 'include_dirs': [ |
316 '..', | 316 '..', |
317 ], | 317 ], |
318 'conditions': [ | 318 'conditions': [ |
319 ['OS != "android"', { | 319 ['OS != "android"', { |
320 'sources': [ | 320 'sources': [ |
321 'notifier/ack_tracker_unittest.cc', | |
322 'notifier/fake_invalidator_unittest.cc', | 321 'notifier/fake_invalidator_unittest.cc', |
323 'notifier/invalidation_notifier_unittest.cc', | 322 'notifier/invalidation_notifier_unittest.cc', |
324 'notifier/invalidator_registrar_unittest.cc', | 323 'notifier/invalidator_registrar_unittest.cc', |
325 'notifier/non_blocking_invalidator_unittest.cc', | 324 'notifier/non_blocking_invalidator_unittest.cc', |
326 'notifier/object_id_invalidation_map_unittest.cc', | 325 'notifier/object_id_invalidation_map_unittest.cc', |
327 'notifier/p2p_invalidator_unittest.cc', | 326 'notifier/p2p_invalidator_unittest.cc', |
328 'notifier/push_client_channel_unittest.cc', | 327 'notifier/push_client_channel_unittest.cc', |
329 'notifier/registration_manager_unittest.cc', | 328 'notifier/registration_manager_unittest.cc', |
330 'notifier/single_object_invalidation_set_unittest.cc', | 329 'notifier/single_object_invalidation_set_unittest.cc', |
331 'notifier/sync_invalidation_listener_unittest.cc', | 330 'notifier/sync_invalidation_listener_unittest.cc', |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 'variables': { | 623 'variables': { |
625 'test_suite_name': 'sync_unit_tests', | 624 'test_suite_name': 'sync_unit_tests', |
626 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 625 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
627 }, | 626 }, |
628 'includes': [ '../build/apk_test.gypi' ], | 627 'includes': [ '../build/apk_test.gypi' ], |
629 }, | 628 }, |
630 ], | 629 ], |
631 }], | 630 }], |
632 ], | 631 ], |
633 } | 632 } |
OLD | NEW |