Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Side by Side Diff: components/sync/sync_tests.gypi

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/sync/sync_android.gypi ('k') | components/sync/sync_unit_tests.isolate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # GN version: //sync:test_support_sync_core 8 # GN version: //components/sync:test_support_sync_core
9 { 9 {
10 'target_name': 'test_support_sync_core', 10 'target_name': 'test_support_sync_core',
11 'type': 'static_library', 11 'type': 'static_library',
12 'variables': { 'enable_wexit_time_destructors': 1, }, 12 'variables': { 'enable_wexit_time_destructors': 1, },
13 'include_dirs': [ 13 'include_dirs': [
14 '..', 14 '..',
15 ], 15 ],
16 'defines': [ 16 'defines': [
17 'SYNC_TEST' 17 'SYNC_TEST'
18 ], 18 ],
19 'dependencies': [ 19 'dependencies': [
20 '../base/base.gyp:base', 20 '../base/base.gyp:base',
21 '../testing/gmock.gyp:gmock', 21 '../testing/gmock.gyp:gmock',
22 '../testing/gtest.gyp:gtest', 22 '../testing/gtest.gyp:gtest',
23 'sync', 23 'sync',
24 ], 24 ],
25 'export_dependent_settings': [ 25 'export_dependent_settings': [
26 '../testing/gmock.gyp:gmock', 26 '../testing/gmock.gyp:gmock',
27 '../testing/gtest.gyp:gtest', 27 '../testing/gtest.gyp:gtest',
28 'sync', 28 'sync',
29 ], 29 ],
30 'sources': [ 30 'sources': [
31 'internal_api/public/base/model_type_test_util.cc', 31 'base/model_type_test_util.cc',
32 'internal_api/public/base/model_type_test_util.h', 32 'base/model_type_test_util.h',
33 'js/js_test_util.cc', 33 'js/js_test_util.cc',
34 'js/js_test_util.h', 34 'js/js_test_util.h',
35 'sessions/test_util.cc', 35 'sessions_impl/test_util.cc',
36 'sessions/test_util.h', 36 'sessions_impl/test_util.h',
37 'test/callback_counter.h', 37 'test/callback_counter.h',
38 "test/directory_backing_store_corruption_testing.cc", 38 "test/directory_backing_store_corruption_testing.cc",
39 "test/directory_backing_store_corruption_testing.h", 39 "test/directory_backing_store_corruption_testing.h",
40 'test/engine/fake_model_worker.cc', 40 'test/engine/fake_model_worker.cc',
41 'test/engine/fake_model_worker.h', 41 'test/engine/fake_model_worker.h',
42 'test/engine/fake_sync_scheduler.cc', 42 'test/engine/fake_sync_scheduler.cc',
43 'test/engine/fake_sync_scheduler.h', 43 'test/engine/fake_sync_scheduler.h',
44 'test/engine/mock_connection_manager.cc', 44 'test/engine/mock_connection_manager.cc',
45 'test/engine/mock_connection_manager.h', 45 'test/engine/mock_connection_manager.h',
46 'test/engine/mock_model_type_processor.cc', 46 'test/engine/mock_model_type_processor.cc',
(...skipping 25 matching lines...) Expand all
72 'test/null_transaction_observer.h', 72 'test/null_transaction_observer.h',
73 'test/sessions/mock_debug_info_getter.cc', 73 'test/sessions/mock_debug_info_getter.cc',
74 'test/sessions/mock_debug_info_getter.h', 74 'test/sessions/mock_debug_info_getter.h',
75 'test/sessions/test_scoped_session_event_listener.h', 75 'test/sessions/test_scoped_session_event_listener.h',
76 'test/test_directory_backing_store.cc', 76 'test/test_directory_backing_store.cc',
77 'test/test_directory_backing_store.h', 77 'test/test_directory_backing_store.h',
78 'test/test_transaction_observer.cc', 78 'test/test_transaction_observer.cc',
79 'test/test_transaction_observer.h', 79 'test/test_transaction_observer.h',
80 'test/trackable_mock_invalidation.cc', 80 'test/trackable_mock_invalidation.cc',
81 'test/trackable_mock_invalidation.h', 81 'test/trackable_mock_invalidation.h',
82 'util/mock_unrecoverable_error_handler.cc', 82 'base/mock_unrecoverable_error_handler.cc',
83 'util/mock_unrecoverable_error_handler.h', 83 'base/mock_unrecoverable_error_handler.h',
84 'util/test_unrecoverable_error_handler.cc', 84 'base/test_unrecoverable_error_handler.cc',
85 'util/test_unrecoverable_error_handler.h', 85 'base/test_unrecoverable_error_handler.h',
86 ], 86 ],
87 }, 87 },
88 88
89 # Test support files for the python sync test server. 89 # Test support files for the python sync test server.
90 # GN version: //sync:test_support_sync_testserver 90 # GN version: //components/sync:test_support_sync_testserver
91 { 91 {
92 'target_name': 'test_support_sync_testserver', 92 'target_name': 'test_support_sync_testserver',
93 'type': 'static_library', 93 'type': 'static_library',
94 'variables': { 'enable_wexit_time_destructors': 1, }, 94 'variables': { 'enable_wexit_time_destructors': 1, },
95 'include_dirs': [ 95 'include_dirs': [
96 '..', 96 '..',
97 ], 97 ],
98 'dependencies': [ 98 'dependencies': [
99 '../base/base.gyp:base', 99 '../base/base.gyp:base',
100 '../net/net.gyp:net_test_support', 100 '../net/net.gyp:net_test_support',
101 # The sync test server uses Python modules generated by the sync protos. 101 # The sync test server uses Python modules generated by the sync protos.
102 '../third_party/protobuf/protobuf.gyp:py_proto', 102 '../third_party/protobuf/protobuf.gyp:py_proto',
103 'sync', 103 'sync',
104 ], 104 ],
105 'export_dependent_settings': [ 105 'export_dependent_settings': [
106 '../base/base.gyp:base', 106 '../base/base.gyp:base',
107 '../net/net.gyp:net_test_support', 107 '../net/net.gyp:net_test_support',
108 ], 108 ],
109 'sources': [ 109 'sources': [
110 'test/local_sync_test_server.cc', 110 'test/local_sync_test_server.cc',
111 'test/local_sync_test_server.h', 111 'test/local_sync_test_server.h',
112 ], 112 ],
113 }, 113 },
114 114
115 # Test support files for the fake sync server. 115 # Test support files for the fake sync server.
116 # GN version: //sync:test_support_sync_fake_server 116 # GN version: //components/sync:test_support_sync_fake_server
117 { 117 {
118 'target_name': 'test_support_sync_fake_server', 118 'target_name': 'test_support_sync_fake_server',
119 'type': 'static_library', 119 'type': 'static_library',
120 'variables': { 'enable_wexit_time_destructors': 1, }, 120 'variables': { 'enable_wexit_time_destructors': 1, },
121 'include_dirs': [ 121 'include_dirs': [
122 '..', 122 '..',
123 ], 123 ],
124 'dependencies': [ 124 'dependencies': [
125 '../base/base.gyp:base', 125 '../base/base.gyp:base',
126 '../net/net.gyp:net', 126 '../net/net.gyp:net',
(...skipping 25 matching lines...) Expand all
152 'test/fake_server/permanent_entity.h', 152 'test/fake_server/permanent_entity.h',
153 'test/fake_server/sessions_hierarchy.cc', 153 'test/fake_server/sessions_hierarchy.cc',
154 'test/fake_server/sessions_hierarchy.h', 154 'test/fake_server/sessions_hierarchy.h',
155 'test/fake_server/tombstone_entity.cc', 155 'test/fake_server/tombstone_entity.cc',
156 'test/fake_server/tombstone_entity.h', 156 'test/fake_server/tombstone_entity.h',
157 'test/fake_server/unique_client_entity.cc', 157 'test/fake_server/unique_client_entity.cc',
158 'test/fake_server/unique_client_entity.h', 158 'test/fake_server/unique_client_entity.h',
159 ], 159 ],
160 }, 160 },
161 161
162 # Test support files for the 'sync_internal_api' target. 162 # Test support files for the 'sync_core_impl' target.
163 # GN version: //sync:test_support_sync_internal_api 163 # GN version: //components/sync:test_support_sync_core_impl
164 { 164 {
165 'target_name': 'test_support_sync_internal_api', 165 'target_name': 'test_support_sync_core_impl',
166 'type': 'static_library', 166 'type': 'static_library',
167 'variables': { 'enable_wexit_time_destructors': 1, }, 167 'variables': { 'enable_wexit_time_destructors': 1, },
168 'include_dirs': [ 168 'include_dirs': [
169 '..', 169 '..',
170 ], 170 ],
171 'defines': [ 171 'defines': [
172 'SYNC_TEST' 172 'SYNC_TEST'
173 ], 173 ],
174 'dependencies': [ 174 'dependencies': [
175 '../base/base.gyp:base', 175 '../base/base.gyp:base',
176 '../testing/gtest.gyp:gtest', 176 '../testing/gtest.gyp:gtest',
177 'sync', 177 'sync',
178 'test_support_sync_core', 178 'test_support_sync_core',
179 ], 179 ],
180 'export_dependent_settings': [ 180 'export_dependent_settings': [
181 '../testing/gtest.gyp:gtest', 181 '../testing/gtest.gyp:gtest',
182 'sync', 182 'sync',
183 'test_support_sync_core', 183 'test_support_sync_core',
184 ], 184 ],
185 'sources': [ 185 'sources': [
186 'internal_api/public/test/data_type_error_handler_mock.h', 186 'core/test/data_type_error_handler_mock.h',
187 'internal_api/public/test/fake_model_type_connector.h', 187 'core/test/fake_model_type_connector.h',
188 'internal_api/public/test/fake_model_type_processor.h', 188 'core/test/fake_model_type_processor.h',
189 'internal_api/public/test/fake_sync_manager.h', 189 'core/test/fake_sync_manager.h',
190 'internal_api/public/test/model_type_store_test_util.h', 190 'core/test/model_type_store_test_util.h',
191 'internal_api/public/test/sync_manager_factory_for_profile_sync_test.h', 191 'core/test/sync_manager_factory_for_profile_sync_test.h',
192 'internal_api/public/test/test_entry_factory.h', 192 'core/test/test_entry_factory.h',
193 'internal_api/public/test/test_internal_components_factory.h', 193 'core/test/test_internal_components_factory.h',
194 'internal_api/public/test/test_user_share.h', 194 'core/test/test_user_share.h',
195 'internal_api/test/data_type_error_handler_mock.cc', 195 'core_impl/test/data_type_error_handler_mock.cc',
196 'internal_api/test/fake_model_type_connector.cc', 196 'core_impl/test/fake_model_type_connector.cc',
197 'internal_api/test/fake_model_type_processor.cc', 197 'core_impl/test/fake_model_type_processor.cc',
198 'internal_api/test/fake_sync_manager.cc', 198 'core_impl/test/fake_sync_manager.cc',
199 'internal_api/test/model_type_store_test_util.cc', 199 'core_impl/test/model_type_store_test_util.cc',
200 'internal_api/test/sync_manager_factory_for_profile_sync_test.cc', 200 'core_impl/test/sync_manager_factory_for_profile_sync_test.cc',
201 'internal_api/test/sync_manager_for_profile_sync_test.cc', 201 'core_impl/test/sync_manager_for_profile_sync_test.cc',
202 'internal_api/test/sync_manager_for_profile_sync_test.h', 202 'core_impl/test/sync_manager_for_profile_sync_test.h',
203 'internal_api/test/test_entry_factory.cc', 203 'core_impl/test/test_entry_factory.cc',
204 'internal_api/test/test_internal_components_factory.cc', 204 'core_impl/test/test_internal_components_factory.cc',
205 'internal_api/test/test_user_share.cc', 205 'core_impl/test/test_user_share.cc',
206 ], 206 ],
207 }, 207 },
208 208
209 # Test support files for the 'sync_api' target. 209 # Test support files for the 'sync_api' target.
210 # GN version: //sync:test_support_sync_api 210 # GN version: //components/sync:test_support_sync_api
211 { 211 {
212 'target_name': 'test_support_sync_api', 212 'target_name': 'test_support_sync_api',
213 'type': 'static_library', 213 'type': 'static_library',
214 'include_dirs': [ 214 'include_dirs': [
215 '..', 215 '..',
216 ], 216 ],
217 'defines': [ 217 'defines': [
218 'SYNC_TEST' 218 'SYNC_TEST'
219 ], 219 ],
220 'dependencies': [ 220 'dependencies': [
(...skipping 16 matching lines...) Expand all
237 'api/mock_model_type_store.cc', 237 'api/mock_model_type_store.cc',
238 'api/mock_model_type_store.h', 238 'api/mock_model_type_store.h',
239 'api/sync_change_processor_wrapper_for_test.cc', 239 'api/sync_change_processor_wrapper_for_test.cc',
240 'api/sync_change_processor_wrapper_for_test.h', 240 'api/sync_change_processor_wrapper_for_test.h',
241 'api/sync_error_factory_mock.cc', 241 'api/sync_error_factory_mock.cc',
242 'api/sync_error_factory_mock.h', 242 'api/sync_error_factory_mock.h',
243 ], 243 ],
244 }, 244 },
245 245
246 # The unit test executable for sync tests. 246 # The unit test executable for sync tests.
247 # GN version: //sync:sync_unit_tests 247 # GN version: //components/sync:sync_unit_tests
248 { 248 {
249 'target_name': 'sync_unit_tests', 249 'target_name': 'sync_unit_tests',
250 'type': '<(gtest_target_type)', 250 'type': '<(gtest_target_type)',
251 # Typed-parametrized tests generate exit-time destructors. 251 # Typed-parametrized tests generate exit-time destructors.
252 'variables': { 'enable_wexit_time_destructors': 0, }, 252 'variables': { 'enable_wexit_time_destructors': 0, },
253 'defines': [ 253 'defines': [
254 'SYNC_TEST', 254 'SYNC_TEST',
255 ], 255 ],
256 'dependencies': [ 256 'dependencies': [
257 '../base/base.gyp:base', 257 '../base/base.gyp:base',
258 '../base/base.gyp:run_all_unittests', 258 '../base/base.gyp:run_all_unittests',
259 '../google_apis/google_apis.gyp:google_apis', 259 '../google_apis/google_apis.gyp:google_apis',
260 '../google_apis/google_apis.gyp:google_apis_test_support', 260 '../google_apis/google_apis.gyp:google_apis_test_support',
261 '../net/net.gyp:net', 261 '../net/net.gyp:net',
262 '../net/net.gyp:net_test_support', 262 '../net/net.gyp:net_test_support',
263 '../sql/sql.gyp:sql', 263 '../sql/sql.gyp:sql',
264 '../sql/sql.gyp:test_support_sql', 264 '../sql/sql.gyp:test_support_sql',
265 '../testing/gmock.gyp:gmock', 265 '../testing/gmock.gyp:gmock',
266 '../testing/gtest.gyp:gtest', 266 '../testing/gtest.gyp:gtest',
267 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 267 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
268 '../third_party/protobuf/protobuf.gyp:protobuf_lite', 268 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
269 'sync', 269 'sync',
270 'test_support_sync_api', 270 'test_support_sync_api',
271 'test_support_sync_core', 271 'test_support_sync_core',
272 'test_support_sync_internal_api', 272 'test_support_sync_core_impl',
273 ], 273 ],
274 'include_dirs': [ 274 'include_dirs': [
275 '..', 275 '..',
276 ], 276 ],
277 'sources': [ 277 'sources': [
278 'api/attachments/attachment_id_unittest.cc', 278 'api/attachments/attachment_id_unittest.cc',
279 'api/attachments/attachment_metadata_unittest.cc', 279 'api/attachments/attachment_metadata_unittest.cc',
280 'api/attachments/attachment_unittest.cc', 280 'api/attachments/attachment_unittest.cc',
281 'api/entity_data_unittest.cc', 281 'api/entity_data_unittest.cc',
282 'api/model_type_service_unittest.cc', 282 'api/model_type_service_unittest.cc',
283 'api/sync_change_unittest.cc', 283 'api/sync_change_unittest.cc',
284 'api/sync_data_unittest.cc', 284 'api/sync_data_unittest.cc',
285 'api/sync_error_unittest.cc', 285 'api/sync_error_unittest.cc',
286 'api/sync_merge_result_unittest.cc', 286 'api/sync_merge_result_unittest.cc',
287 'engine/apply_control_data_updates_unittest.cc', 287 'engine_impl/apply_control_data_updates_unittest.cc',
288 'engine/backoff_delay_provider_unittest.cc', 288 'engine_impl/backoff_delay_provider_unittest.cc',
289 'engine/directory_commit_contribution_unittest.cc', 289 'engine_impl/directory_commit_contribution_unittest.cc',
290 'engine/directory_update_handler_unittest.cc', 290 'engine_impl/directory_update_handler_unittest.cc',
291 'engine/get_updates_processor_unittest.cc', 291 'engine_impl/get_updates_processor_unittest.cc',
292 'engine/model_type_worker_unittest.cc', 292 'engine_impl/model_type_worker_unittest.cc',
293 'engine/sync_scheduler_unittest.cc', 293 'engine_impl/sync_scheduler_unittest.cc',
294 'engine/syncer_proto_util_unittest.cc', 294 'engine_impl/syncer_proto_util_unittest.cc',
295 'engine/syncer_unittest.cc', 295 'engine_impl/syncer_unittest.cc',
296 'engine/syncer_util_unittest.cc', 296 'engine_impl/syncer_util_unittest.cc',
297 'engine/worker_entity_tracker_unittest.cc', 297 'engine_impl/worker_entity_tracker_unittest.cc',
298 'internal_api/attachments/attachment_downloader_impl_unittest.cc', 298 'core_impl/attachments/attachment_downloader_impl_unittest.cc',
299 'internal_api/attachments/attachment_service_impl_unittest.cc', 299 'core_impl/attachments/attachment_service_impl_unittest.cc',
300 'internal_api/attachments/attachment_service_proxy_unittest.cc', 300 'core_impl/attachments/attachment_service_proxy_unittest.cc',
301 'internal_api/attachments/attachment_store_frontend_unittest.cc', 301 'core_impl/attachments/attachment_store_frontend_unittest.cc',
302 'internal_api/attachments/attachment_store_test_template.h', 302 'core_impl/attachments/attachment_store_test_template.h',
303 'internal_api/attachments/attachment_uploader_impl_unittest.cc', 303 'core_impl/attachments/attachment_uploader_impl_unittest.cc',
304 'internal_api/attachments/fake_attachment_downloader_unittest.cc', 304 'core_impl/attachments/fake_attachment_downloader_unittest.cc',
305 'internal_api/attachments/fake_attachment_uploader_unittest.cc', 305 'core_impl/attachments/fake_attachment_uploader_unittest.cc',
306 'internal_api/attachments/in_memory_attachment_store_unittest.cc', 306 'core_impl/attachments/in_memory_attachment_store_unittest.cc',
307 'internal_api/attachments/on_disk_attachment_store_unittest.cc', 307 'core_impl/attachments/on_disk_attachment_store_unittest.cc',
308 'internal_api/attachments/task_queue_unittest.cc', 308 'core_impl/attachments/task_queue_unittest.cc',
309 'internal_api/debug_info_event_listener_unittest.cc', 309 'core_impl/debug_info_event_listener_unittest.cc',
310 'internal_api/http_bridge_unittest.cc', 310 'core/http_bridge_unittest.cc',
311 'internal_api/js_mutation_event_observer_unittest.cc', 311 'core_impl/js_mutation_event_observer_unittest.cc',
312 'internal_api/js_sync_encryption_handler_observer_unittest.cc', 312 'core_impl/js_sync_encryption_handler_observer_unittest.cc',
313 'internal_api/js_sync_manager_observer_unittest.cc', 313 'core_impl/js_sync_manager_observer_unittest.cc',
314 'internal_api/model_type_connector_proxy_unittest.cc', 314 'core_impl/model_type_connector_proxy_unittest.cc',
315 'internal_api/model_type_store_backend_unittest.cc', 315 'core/model_type_store_backend_unittest.cc',
316 'internal_api/model_type_store_impl_unittest.cc', 316 'core/model_type_store_impl_unittest.cc',
317 'internal_api/processor_entity_tracker_unittest.cc', 317 'core/processor_entity_tracker_unittest.cc',
318 'internal_api/protocol_event_buffer_unittest.cc', 318 'core_impl/protocol_event_buffer_unittest.cc',
319 'internal_api/public/base/attachment_id_proto_unittest.cc', 319 'base/attachment_id_proto_unittest.cc',
320 'internal_api/public/base/cancelation_signal_unittest.cc', 320 'base/cancelation_signal_unittest.cc',
321 'internal_api/public/base/enum_set_unittest.cc', 321 'base/enum_set_unittest.cc',
322 'internal_api/public/base/node_ordinal_unittest.cc', 322 'base/node_ordinal_unittest.cc',
323 'internal_api/public/base/ordinal_unittest.cc', 323 'base/ordinal_unittest.cc',
324 'internal_api/public/base/unique_position_unittest.cc', 324 'base/unique_position_unittest.cc',
325 'internal_api/public/change_record_unittest.cc', 325 'core/change_record_unittest.cc',
326 'internal_api/public/data_batch_impl_unittest.cc', 326 'core/data_batch_impl_unittest.cc',
327 'internal_api/public/engine/model_safe_worker_unittest.cc', 327 'engine/model_safe_worker_unittest.cc',
328 'internal_api/public/sessions/sync_session_snapshot_unittest.cc', 328 'sessions/sync_session_snapshot_unittest.cc',
329 'internal_api/public/simple_metadata_change_list_unittest.cc', 329 'core/simple_metadata_change_list_unittest.cc',
330 'internal_api/public/util/immutable_unittest.cc', 330 'base/immutable_unittest.cc',
331 'internal_api/public/util/proto_value_ptr_unittest.cc', 331 'base/proto_value_ptr_unittest.cc',
332 'internal_api/public/util/weak_handle_unittest.cc', 332 'base/weak_handle_unittest.cc',
333 'internal_api/shared_model_type_processor_unittest.cc', 333 'core/shared_model_type_processor_unittest.cc',
334 'internal_api/sync_encryption_handler_impl_unittest.cc', 334 'core_impl/sync_encryption_handler_impl_unittest.cc',
335 'internal_api/sync_manager_impl_unittest.cc', 335 'core_impl/sync_manager_impl_unittest.cc',
336 'internal_api/syncapi_server_connection_manager_unittest.cc', 336 'core_impl/syncapi_server_connection_manager_unittest.cc',
337 'js/js_event_details_unittest.cc', 337 'js/js_event_details_unittest.cc',
338 'js/sync_js_controller_unittest.cc', 338 'js/sync_js_controller_unittest.cc',
339 'protocol/proto_enum_conversions_unittest.cc', 339 'protocol/proto_enum_conversions_unittest.cc',
340 'protocol/proto_value_conversions_unittest.cc', 340 'protocol/proto_value_conversions_unittest.cc',
341 'sessions/model_type_registry_unittest.cc', 341 'sessions_impl/model_type_registry_unittest.cc',
342 'sessions/nudge_tracker_unittest.cc', 342 'sessions_impl/nudge_tracker_unittest.cc',
343 'sessions/status_controller_unittest.cc', 343 'sessions_impl/status_controller_unittest.cc',
344 'syncable/directory_backing_store_unittest.cc', 344 'syncable/directory_backing_store_unittest.cc',
345 'syncable/directory_unittest.cc', 345 'syncable/directory_unittest.cc',
346 'syncable/directory_unittest.h', 346 'syncable/directory_unittest.h',
347 'syncable/entry_kernel_unittest.cc', 347 'syncable/entry_kernel_unittest.cc',
348 'syncable/model_type_unittest.cc', 348 'syncable/model_type_unittest.cc',
349 'syncable/nigori_util_unittest.cc', 349 'syncable/nigori_util_unittest.cc',
350 'syncable/parent_child_index_unittest.cc', 350 'syncable/parent_child_index_unittest.cc',
351 'syncable/syncable_enum_conversions_unittest.cc', 351 'syncable/syncable_enum_conversions_unittest.cc',
352 'syncable/syncable_id_unittest.cc', 352 'syncable/syncable_id_unittest.cc',
353 'syncable/syncable_unittest.cc', 353 'syncable/syncable_unittest.cc',
354 'syncable/syncable_util_unittest.cc', 354 'syncable/syncable_util_unittest.cc',
355 'util/cryptographer_unittest.cc', 355 'base/cryptographer_unittest.cc',
356 'util/data_type_histogram_unittest.cc', 356 'base/data_type_histogram_unittest.cc',
357 'util/get_session_name_unittest.cc', 357 'base/get_session_name_unittest.cc',
358 'util/nigori_unittest.cc', 358 'base/nigori_unittest.cc',
359 'util/protobuf_unittest.cc', 359 'base/protobuf_unittest.cc',
360 ], 360 ],
361 'conditions': [ 361 'conditions': [
362 ['OS == "android"', { 362 ['OS == "android"', {
363 'dependencies': [ 363 'dependencies': [
364 '../testing/android/native_test.gyp:native_test_native_code', 364 '../testing/android/native_test.gyp:native_test_native_code',
365 ], 365 ],
366 }], 366 }],
367 ['OS=="linux" and chromeos==1', { 367 ['OS=="linux" and chromeos==1', {
368 # Required by get_session_name_unittest.cc on Chrome OS. 368 # Required by get_session_name_unittest.cc on Chrome OS.
369 'dependencies': [ 369 'dependencies': [
370 '../chromeos/chromeos.gyp:chromeos', 370 '../chromeos/chromeos.gyp:chromeos',
371 ], 371 ],
372 }], 372 }],
373 ['OS == "ios"', { 373 ['OS == "ios"', {
374 'sources!': [ 374 'sources!': [
375 'internal_api/http_bridge_unittest.cc', 375 'core/http_bridge_unittest.cc',
376 ], 376 ],
377 }], 377 }],
378 ], 378 ],
379 }, 379 },
380 ], 380 ],
381 'conditions': [ 381 'conditions': [
382 ['OS != "ios"', { 382 ['OS != "ios"', {
383 'targets': [ 383 'targets': [
384 # A tool that can be used to launch a python sync server instance. 384 # A tool that can be used to launch a python sync server instance.
385 { 385 {
386 'target_name': 'run_sync_testserver', 386 'target_name': 'run_sync_testserver',
387 'type': 'executable', 387 'type': 'executable',
388 'dependencies': [ 388 'dependencies': [
389 '../base/base.gyp:base', 389 '../base/base.gyp:base',
390 '../base/base.gyp:test_support_base', 390 '../base/base.gyp:test_support_base',
391 '../net/net.gyp:net_test_support', 391 '../net/net.gyp:net_test_support',
392 '../testing/gtest.gyp:gtest', 392 '../testing/gtest.gyp:gtest',
393 'test_support_sync_testserver', 393 'test_support_sync_testserver',
394 ], 394 ],
395 'sources': [ 395 'sources': [
396 'tools/testserver/run_sync_testserver.cc', 396 'tools/testserver/run_sync_testserver.cc',
397 ], 397 ],
398 }, 398 },
399 ], 399 ],
400 }], 400 }],
401 ['OS == "android"', { 401 ['OS == "android"', {
402 'targets': [ 402 'targets': [
403 { 403 {
404 # GN: //sync/android:sync_javatests 404 # GN: //components/sync/android:sync_javatests
405 'target_name': 'sync_javatests', 405 'target_name': 'sync_javatests',
406 'type': 'none', 406 'type': 'none',
407 'variables': { 407 'variables': {
408 'java_in_dir': '../sync/android/javatests', 408 'java_in_dir': '../components/sync/android/javatests',
409 }, 409 },
410 'dependencies': [ 410 'dependencies': [
411 'sync_java', 411 'sync_java',
412 'sync_java_test_support', 412 'sync_java_test_support',
413 '../base/base.gyp:base_java_test_support', 413 '../base/base.gyp:base_java_test_support',
414 ], 414 ],
415 'includes': [ '../build/java.gypi' ], 415 'includes': [ '../../build/java.gypi' ],
416 }, 416 },
417 { 417 {
418 # GN: //sync:sync_java_test_support 418 # GN: //components/sync:sync_java_test_support
419 'target_name': 'sync_java_test_support', 419 'target_name': 'sync_java_test_support',
420 'type': 'none', 420 'type': 'none',
421 'variables': { 421 'variables': {
422 'java_in_dir': '../sync/test/android/javatests', 422 'java_in_dir': '../components/sync/test/android/javatests',
423 }, 423 },
424 'dependencies': [ 424 'dependencies': [
425 'sync_java', 425 'sync_java',
426 '../base/base.gyp:base_java_test_support', 426 '../base/base.gyp:base_java_test_support',
427 ], 427 ],
428 'includes': [ '../build/java.gypi' ], 428 'includes': [ '../../build/java.gypi' ],
429 }, 429 },
430 { 430 {
431 # GN: //sync:sync_fake_server_jni_headers 431 # GN: //components/sync:sync_fake_server_jni_headers
432 'target_name': 'sync_fake_server_jni_headers', 432 'target_name': 'sync_fake_server_jni_headers',
433 'type': 'none', 433 'type': 'none',
434 'sources': [ 434 'sources': [
435 '../chrome/android/sync_shell/javatests/src/org/chromium/chrome/brow ser/sync/FakeServerHelper.java', 435 '../chrome/android/sync_shell/javatests/src/org/chromium/chrome/brow ser/sync/FakeServerHelper.java',
436 ], 436 ],
437 'variables': { 437 'variables': {
438 'jni_gen_package': 'sync/test/fake_server', 438 'jni_gen_package': 'sync/test/fake_server',
439 'jni_generator_ptr_type': 'long', 439 'jni_generator_ptr_type': 'long',
440 }, 440 },
441 'includes': [ '../build/jni_generator.gypi' ], 441 'includes': [ '../../build/jni_generator.gypi' ],
442 }, 442 },
443 { 443 {
444 # GN: //sync:test_support_sync_proto_java 444 # GN: //components/sync:test_support_sync_proto_java
445 'target_name': 'test_support_sync_proto_java', 445 'target_name': 'test_support_sync_proto_java',
446 'type': 'none', 446 'type': 'none',
447 'variables': { 447 'variables': {
448 'proto_in_dir': '<(INTERMEDIATE_DIR)/sync_protos', 448 'proto_in_dir': '<(INTERMEDIATE_DIR)/sync_protos',
449 # Set this variable so that sync_proto_source_paths refers to the 449 # Set this variable so that sync_proto_source_paths refers to the
450 # temporary proto definitions created here. 450 # temporary proto definitions created here.
451 'sync_proto_sources_dir': '<(INTERMEDIATE_DIR)/sync_protos', 451 'sync_proto_sources_dir': '<(INTERMEDIATE_DIR)/sync_protos',
452 }, 452 },
453 'actions': [ 453 'actions': [
454 { 454 {
(...skipping 12 matching lines...) Expand all
467 '--output_dir', 467 '--output_dir',
468 '<(INTERMEDIATE_DIR)/sync_protos', 468 '<(INTERMEDIATE_DIR)/sync_protos',
469 # Use the original list of proto files (defined in sync.gyp). 469 # Use the original list of proto files (defined in sync.gyp).
470 '<@(sync_proto_sources)' 470 '<@(sync_proto_sources)'
471 ], 471 ],
472 }, 472 },
473 ], 473 ],
474 'sources': [ 474 'sources': [
475 '<@(sync_proto_source_paths)', 475 '<@(sync_proto_source_paths)',
476 ], 476 ],
477 'includes': ['protocol/protocol.gypi', '../build/protoc_java.gypi'], 477 'includes': ['protocol/protocol.gypi', '../../build/protoc_java.gypi'] ,
478 }, 478 },
479 { 479 {
480 # GN: //sync:test_support_sync_fake_server_android 480 # GN: //components/sync:test_support_sync_fake_server_android
481 'target_name': 'test_support_sync_fake_server_android', 481 'target_name': 'test_support_sync_fake_server_android',
482 'type': 'static_library', 482 'type': 'static_library',
483 'dependencies': [ 483 'dependencies': [
484 'sync_fake_server_jni_headers', 484 'sync_fake_server_jni_headers',
485 'test_support_sync_fake_server', 485 'test_support_sync_fake_server',
486 '../testing/gtest.gyp:gtest', 486 '../testing/gtest.gyp:gtest',
487 '../base/base.gyp:base', 487 '../base/base.gyp:base',
488 ], 488 ],
489 'export_dependent_settings': [ 489 'export_dependent_settings': [
490 '../testing/gtest.gyp:gtest', 490 '../testing/gtest.gyp:gtest',
491 ], 491 ],
492 'sources': [ 492 'sources': [
493 'test/fake_server/android/fake_server_helper_android.cc', 493 'test/fake_server/android/fake_server_helper_android.cc',
494 'test/fake_server/android/fake_server_helper_android.h', 494 'test/fake_server/android/fake_server_helper_android.h',
495 ], 495 ],
496 }, 496 },
497 { 497 {
498 # GN: //sync:sync_unit_tests_apk 498 # GN: //components/sync:sync_unit_tests_apk
499 'target_name': 'sync_unit_tests_apk', 499 'target_name': 'sync_unit_tests_apk',
500 'type': 'none', 500 'type': 'none',
501 'dependencies': [ 501 'dependencies': [
502 'sync_unit_tests', 502 'sync_unit_tests',
503 ], 503 ],
504 'variables': { 504 'variables': {
505 'test_suite_name': 'sync_unit_tests', 505 'test_suite_name': 'sync_unit_tests',
506 'isolate_file': 'sync_unit_tests.isolate', 506 'isolate_file': 'sync_unit_tests.isolate',
507 }, 507 },
508 'includes': [ '../build/apk_test.gypi' ], 508 'includes': [ '../../build/apk_test.gypi' ],
509 }, 509 },
510 ], 510 ],
511 'conditions': [ 511 'conditions': [
512 ['test_isolation_mode != "noop"', { 512 ['test_isolation_mode != "noop"', {
513 'targets': [ 513 'targets': [
514 { 514 {
515 'target_name': 'sync_unit_tests_apk_run', 515 'target_name': 'sync_unit_tests_apk_run',
516 'type': 'none', 516 'type': 'none',
517 'dependencies': [ 517 'dependencies': [
518 'sync_unit_tests_apk', 518 'sync_unit_tests_apk',
519 ], 519 ],
520 'includes': [ 520 'includes': [
521 '../build/isolate.gypi', 521 '../../build/isolate.gypi',
522 ], 522 ],
523 'sources': [ 523 'sources': [
524 'sync_unit_tests_apk.isolate', 524 'sync_unit_tests_apk.isolate',
525 ], 525 ],
526 }, 526 },
527 ], 527 ],
528 }], 528 }],
529 ], 529 ],
530 }], 530 }],
531 ['test_isolation_mode != "noop"', { 531 ['test_isolation_mode != "noop"', {
532 'targets': [ 532 'targets': [
533 { 533 {
534 'target_name': 'sync_unit_tests_run', 534 'target_name': 'sync_unit_tests_run',
535 'type': 'none', 535 'type': 'none',
536 'dependencies': [ 536 'dependencies': [
537 'sync_unit_tests', 537 'sync_unit_tests',
538 ], 538 ],
539 'includes': [ 539 'includes': [
540 '../build/isolate.gypi', 540 '../../build/isolate.gypi',
541 ], 541 ],
542 'sources': [ 542 'sources': [
543 'sync_unit_tests.isolate', 543 'sync_unit_tests.isolate',
544 ], 544 ],
545 }, 545 },
546 ], 546 ],
547 }], 547 }],
548 ], 548 ],
549 } 549 }
OLDNEW
« no previous file with comments | « components/sync/sync_android.gypi ('k') | components/sync/sync_unit_tests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698