| OLD | NEW |
| 1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 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 'targets': [ | 5 'targets': [ |
| 6 { | 6 { |
| 7 # This target contains mocks and test utilities that don't belong in | 7 # This target contains mocks and test utilities that don't belong in |
| 8 # production libraries but are used by more than one test executable. | 8 # production libraries but are used by more than one test executable. |
| 9 'target_name': 'test_support_common', | 9 'target_name': 'test_support_common', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| (...skipping 2070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2081 'sources/': [ | 2081 'sources/': [ |
| 2082 # Exclude everything but iOS-specific files. | 2082 # Exclude everything but iOS-specific files. |
| 2083 ['exclude', '\\.(cc|mm)$'], | 2083 ['exclude', '\\.(cc|mm)$'], |
| 2084 ['include', '_ios\\.(cc|mm)$'], | 2084 ['include', '_ios\\.(cc|mm)$'], |
| 2085 ['include', '(^|/)ios/'], | 2085 ['include', '(^|/)ios/'], |
| 2086 # TODO(ios): Add files here as they are updated to compile on iOS. | 2086 # TODO(ios): Add files here as they are updated to compile on iOS. |
| 2087 ['include', '^common/translate/language_detection_util_unittest\\.cc
$'], | 2087 ['include', '^common/translate/language_detection_util_unittest\\.cc
$'], |
| 2088 ['include', '^common/translate/translate_util_unittest\\.cc$'], | 2088 ['include', '^common/translate/translate_util_unittest\\.cc$'], |
| 2089 ['include', '^common/zip_'], | 2089 ['include', '^common/zip_'], |
| 2090 ], | 2090 ], |
| 2091 'conditions': [ | |
| 2092 ['coverage != 0', { | |
| 2093 'sources/': [ | |
| 2094 # These tests crash when run with coverage turned on due to an | |
| 2095 # issue with llvm_gcda_increment_indirect_counter: | |
| 2096 # http://crbug.com/156058 | |
| 2097 ['exclude', '^browser/autocomplete/bookmark_provider_unittest\\.
cc$'], | |
| 2098 ['exclude', '^browser/autocomplete/builtin_provider_unittest\\.c
c$'], | |
| 2099 ['exclude', '^browser/autocomplete/history_quick_provider_unitte
st\\.cc$'], | |
| 2100 ['exclude', '^browser/autocomplete/shortcuts_provider_unittest\\
.cc$'], | |
| 2101 ['exclude', '^browser/bookmarks/bookmark_codec_unittest\\.cc$'], | |
| 2102 ], | |
| 2103 }], | |
| 2104 ], | |
| 2105 # Bundle all the necessary resources into the test bundle. | 2091 # Bundle all the necessary resources into the test bundle. |
| 2106 'includes': ['chrome_ios_bundle_resources.gypi'], | 2092 'includes': ['chrome_ios_bundle_resources.gypi'], |
| 2107 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, | 2093 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, |
| 2108 }], | 2094 }], |
| 2109 ['enable_background==0', { | 2095 ['enable_background==0', { |
| 2110 'sources/': [ | 2096 'sources/': [ |
| 2111 ['exclude', '^browser/background/'], | 2097 ['exclude', '^browser/background/'], |
| 2112 ], | 2098 ], |
| 2113 }], | 2099 }], |
| 2114 ['enable_spellcheck==0', { | 2100 ['enable_spellcheck==0', { |
| (...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2934 'browser/ui/app_list/test/fake_profile.h', | 2920 'browser/ui/app_list/test/fake_profile.h', |
| 2935 'browser/ui/app_list/test/fake_profile_store.cc', | 2921 'browser/ui/app_list/test/fake_profile_store.cc', |
| 2936 'browser/ui/app_list/test/fake_profile_store.h', | 2922 'browser/ui/app_list/test/fake_profile_store.h', |
| 2937 'browser/ui/app_list/test/fast_show_pickler_unittest.cc', | 2923 'browser/ui/app_list/test/fast_show_pickler_unittest.cc', |
| 2938 ], | 2924 ], |
| 2939 }, | 2925 }, |
| 2940 ], | 2926 ], |
| 2941 }], | 2927 }], |
| 2942 ], # 'conditions' | 2928 ], # 'conditions' |
| 2943 } | 2929 } |
| OLD | NEW |