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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 'sync', | 323 'sync', |
324 'test_support_sync_notifier', | 324 'test_support_sync_notifier', |
325 ], | 325 ], |
326 'direct_dependent_settings': { | 326 'direct_dependent_settings': { |
327 'include_dirs': [ | 327 'include_dirs': [ |
328 '..', | 328 '..', |
329 ], | 329 ], |
330 'conditions': [ | 330 'conditions': [ |
331 ['OS != "android"', { | 331 ['OS != "android"', { |
332 'sources': [ | 332 'sources': [ |
333 'notifier/ack_tracker_unittest.cc', | |
334 'notifier/fake_invalidator_unittest.cc', | 333 'notifier/fake_invalidator_unittest.cc', |
335 'notifier/invalidation_notifier_unittest.cc', | 334 'notifier/invalidation_notifier_unittest.cc', |
336 'notifier/invalidator_registrar_unittest.cc', | 335 'notifier/invalidator_registrar_unittest.cc', |
337 'notifier/non_blocking_invalidator_unittest.cc', | 336 'notifier/non_blocking_invalidator_unittest.cc', |
338 'notifier/object_id_invalidation_map_unittest.cc', | 337 'notifier/object_id_invalidation_map_unittest.cc', |
339 'notifier/p2p_invalidator_unittest.cc', | 338 'notifier/p2p_invalidator_unittest.cc', |
340 'notifier/push_client_channel_unittest.cc', | 339 'notifier/push_client_channel_unittest.cc', |
341 'notifier/registration_manager_unittest.cc', | 340 'notifier/registration_manager_unittest.cc', |
342 'notifier/single_object_invalidation_set_unittest.cc', | 341 'notifier/single_object_invalidation_set_unittest.cc', |
343 'notifier/sync_invalidation_listener_unittest.cc', | 342 'notifier/sync_invalidation_listener_unittest.cc', |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
636 'variables': { | 635 'variables': { |
637 'test_suite_name': 'sync_unit_tests', | 636 'test_suite_name': 'sync_unit_tests', |
638 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 637 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
639 }, | 638 }, |
640 'includes': [ '../build/apk_test.gypi' ], | 639 'includes': [ '../build/apk_test.gypi' ], |
641 }, | 640 }, |
642 ], | 641 ], |
643 }], | 642 }], |
644 ], | 643 ], |
645 } | 644 } |
OLD | NEW |