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