| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 'syncable/syncable_enum_conversions_unittest.cc', | 266 'syncable/syncable_enum_conversions_unittest.cc', |
| 267 'syncable/syncable_id_unittest.cc', | 267 'syncable/syncable_id_unittest.cc', |
| 268 'syncable/syncable_unittest.cc', | 268 'syncable/syncable_unittest.cc', |
| 269 'syncable/syncable_util_unittest.cc', | 269 'syncable/syncable_util_unittest.cc', |
| 270 'util/cryptographer_unittest.cc', | 270 'util/cryptographer_unittest.cc', |
| 271 'util/data_type_histogram_unittest.cc', | 271 'util/data_type_histogram_unittest.cc', |
| 272 'util/get_session_name_unittest.cc', | 272 'util/get_session_name_unittest.cc', |
| 273 'util/nigori_unittest.cc', | 273 'util/nigori_unittest.cc', |
| 274 'util/protobuf_unittest.cc', | 274 'util/protobuf_unittest.cc', |
| 275 ], | 275 ], |
| 276 'conditions': [ | |
| 277 ['OS == "ios" and coverage != 0', { | |
| 278 'sources!': [ | |
| 279 # These sources can't be built with coverage due to a toolchain | |
| 280 # bug: http://openradar.appspot.com/radar?id=1499403 | |
| 281 'engine/syncer_unittest.cc', | |
| 282 | |
| 283 # These tests crash when run with coverage turned on due to an | |
| 284 # issue with llvm_gcda_increment_indirect_counter: | |
| 285 # http://crbug.com/156058 | |
| 286 'syncable/directory_backing_store_unittest.cc', | |
| 287 ], | |
| 288 }], | |
| 289 ], | |
| 290 }, | 276 }, |
| 291 }, | 277 }, |
| 292 | 278 |
| 293 # Unit tests for the 'sync_notifier' target. This cannot be a static | 279 # Unit tests for the 'sync_notifier' target. This cannot be a static |
| 294 # library because the unit test files have to be compiled directly | 280 # library because the unit test files have to be compiled directly |
| 295 # into the executable, so we push the target files to the | 281 # into the executable, so we push the target files to the |
| 296 # depending executable target via direct_dependent_settings. | 282 # depending executable target via direct_dependent_settings. |
| 297 { | 283 { |
| 298 'target_name': 'sync_notifier_tests', | 284 'target_name': 'sync_notifier_tests', |
| 299 'type': 'none', | 285 'type': 'none', |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 'variables': { | 622 'variables': { |
| 637 'test_suite_name': 'sync_unit_tests', | 623 'test_suite_name': 'sync_unit_tests', |
| 638 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 624 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
| 639 }, | 625 }, |
| 640 'includes': [ '../build/apk_test.gypi' ], | 626 'includes': [ '../build/apk_test.gypi' ], |
| 641 }, | 627 }, |
| 642 ], | 628 ], |
| 643 }], | 629 }], |
| 644 ], | 630 ], |
| 645 } | 631 } |
| OLD | NEW |