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