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 'variables': { | 5 'variables': { |
6 'chrome_unit_tests_sources': [ | 6 'chrome_unit_tests_sources': [ |
7 # histograms.xml is analyzed by AboutFlagsHistogramTest, so this | 7 # histograms.xml is analyzed by AboutFlagsHistogramTest, so this |
8 # dependency is needed to make commit bots run unit_tests on | 8 # dependency is needed to make commit bots run unit_tests on |
9 # histograms.xml changes. | 9 # histograms.xml changes. |
10 '../tools/metrics/histograms/histograms.xml', | 10 '../tools/metrics/histograms/histograms.xml', |
(...skipping 2259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2270 ], | 2270 ], |
2271 # Bundle all the necessary resources into the test bundle. | 2271 # Bundle all the necessary resources into the test bundle. |
2272 'includes': ['chrome_ios_bundle_resources.gypi'], | 2272 'includes': ['chrome_ios_bundle_resources.gypi'], |
2273 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, | 2273 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, |
2274 }], | 2274 }], |
2275 ['OS=="android"', { | 2275 ['OS=="android"', { |
2276 'sources': [ '<@(chrome_unit_tests_offline_pages_sources)' ], | 2276 'sources': [ '<@(chrome_unit_tests_offline_pages_sources)' ], |
2277 'dependencies!': [ | 2277 'dependencies!': [ |
2278 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput'
, | 2278 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput'
, |
2279 ], | 2279 ], |
2280 'sources!': [ | |
2281 'common/spellcheck_common_unittest.cc', | |
2282 'renderer/spellchecker/spellcheck_multilingual_unittest.cc', | |
2283 'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc', | |
2284 'renderer/spellchecker/spellcheck_unittest.cc', | |
2285 ], | |
2286 'ldflags': [ | 2280 'ldflags': [ |
2287 # Some android targets still depend on --gc-sections to link. | 2281 # Some android targets still depend on --gc-sections to link. |
2288 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). | 2282 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). |
2289 '-Wl,--gc-sections', | 2283 '-Wl,--gc-sections', |
2290 ], | 2284 ], |
2291 'dependencies': [ | 2285 'dependencies': [ |
2292 '../testing/android/native_test.gyp:native_test_native_code', | 2286 '../testing/android/native_test.gyp:native_test_native_code', |
2293 ], | 2287 ], |
2294 }, { # Not Android. | 2288 }, { # Not Android. |
2295 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], | 2289 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], |
(...skipping 11 matching lines...) Expand all Loading... |
2307 }], | 2301 }], |
2308 ['enable_background==1', { | 2302 ['enable_background==1', { |
2309 'sources': [ '<@(chrome_unit_tests_background_sources)' ], | 2303 'sources': [ '<@(chrome_unit_tests_background_sources)' ], |
2310 }], | 2304 }], |
2311 ['enable_spellcheck==1', { | 2305 ['enable_spellcheck==1', { |
2312 'sources': [ '<@(chrome_unit_tests_spellchecker_sources)' ], | 2306 'sources': [ '<@(chrome_unit_tests_spellchecker_sources)' ], |
2313 'conditions': [ | 2307 'conditions': [ |
2314 ['OS!="mac" and OS!="ios"', { | 2308 ['OS!="mac" and OS!="ios"', { |
2315 'dependencies': [ '../third_party/hunspell/hunspell.gyp:hunspell'
], | 2309 'dependencies': [ '../third_party/hunspell/hunspell.gyp:hunspell'
], |
2316 }], | 2310 }], |
| 2311 ['OS=="android"', { |
| 2312 'sources!': [ |
| 2313 'common/spellcheck_common_unittest.cc', |
| 2314 'renderer/spellchecker/spellcheck_multilingual_unittest.cc', |
| 2315 'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc'
, |
| 2316 'renderer/spellchecker/spellcheck_unittest.cc', |
| 2317 ], |
| 2318 }] |
2317 ], | 2319 ], |
2318 }], | 2320 }], |
2319 ['enable_one_click_signin==1', { | 2321 ['enable_one_click_signin==1', { |
2320 'sources': [ | 2322 'sources': [ |
2321 'browser/ui/sync/one_click_signin_sync_observer_unittest.cc', | 2323 'browser/ui/sync/one_click_signin_sync_observer_unittest.cc', |
2322 'browser/ui/sync/one_click_signin_sync_starter_unittest.cc', | 2324 'browser/ui/sync/one_click_signin_sync_starter_unittest.cc', |
2323 ], | 2325 ], |
2324 }], | 2326 }], |
2325 ['enable_extensions==1', { | 2327 ['enable_extensions==1', { |
2326 'sources': [ '<@(chrome_unit_tests_extensions_sources)' ], | 2328 'sources': [ '<@(chrome_unit_tests_extensions_sources)' ], |
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2972 'dependencies': [ | 2974 'dependencies': [ |
2973 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2975 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2974 ], | 2976 ], |
2975 }], | 2977 }], |
2976 ], | 2978 ], |
2977 }, | 2979 }, |
2978 ], | 2980 ], |
2979 }], | 2981 }], |
2980 ], # 'conditions' | 2982 ], # 'conditions' |
2981 } | 2983 } |
OLD | NEW |