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 2255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2266 ['include', '(^|/)ios/'], | 2266 ['include', '(^|/)ios/'], |
2267 # TODO(ios): Add files here as they are updated to compile on iOS. | 2267 # TODO(ios): Add files here as they are updated to compile on iOS. |
2268 ['include', '^common/translate/language_detection_util_unittest\\.cc
$'], | 2268 ['include', '^common/translate/language_detection_util_unittest\\.cc
$'], |
2269 ['include', '^common/translate/translate_util_unittest\\.cc$'], | 2269 ['include', '^common/translate/translate_util_unittest\\.cc$'], |
2270 ['include', '^common/zip_'], | 2270 ['include', '^common/zip_'], |
2271 ], | 2271 ], |
2272 # Bundle all the necessary resources into the test bundle. | 2272 # Bundle all the necessary resources into the test bundle. |
2273 'includes': ['chrome_ios_bundle_resources.gypi'], | 2273 'includes': ['chrome_ios_bundle_resources.gypi'], |
2274 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, | 2274 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, |
2275 }], | 2275 }], |
| 2276 ['OS=="android"', { |
| 2277 'sources': [ '<@(chrome_unit_tests_offline_pages_sources)' ], |
| 2278 'dependencies!': [ |
| 2279 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput'
, |
| 2280 ], |
| 2281 'sources!': [ |
| 2282 'common/spellcheck_common_unittest.cc', |
| 2283 'renderer/spellchecker/spellcheck_multilingual_unittest.cc', |
| 2284 'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc', |
| 2285 'renderer/spellchecker/spellcheck_unittest.cc', |
| 2286 ], |
| 2287 'ldflags': [ |
| 2288 # Some android targets still depend on --gc-sections to link. |
| 2289 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). |
| 2290 '-Wl,--gc-sections', |
| 2291 ], |
| 2292 'dependencies': [ |
| 2293 '../testing/android/native_test.gyp:native_test_native_code', |
| 2294 ], |
| 2295 }, { # Not Android. |
| 2296 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], |
| 2297 'sources!': [ |
| 2298 'browser/download/download_request_infobar_delegate_unittest.cc', |
| 2299 ], |
| 2300 }], |
2276 ['OS!="android" and OS!="ios"', { | 2301 ['OS!="android" and OS!="ios"', { |
2277 'sources': [ '<@(chrome_unit_tests_non_mobile_sources)' ], | 2302 'sources': [ '<@(chrome_unit_tests_non_mobile_sources)' ], |
2278 }], | 2303 }], |
2279 ['chromeos==1', { | 2304 ['chromeos==1', { |
2280 'sources!': [ | 2305 'sources!': [ |
2281 'browser/signin/chrome_signin_status_metrics_provider_delegate_unitt
est.cc', | 2306 'browser/signin/chrome_signin_status_metrics_provider_delegate_unitt
est.cc', |
2282 ], | 2307 ], |
2283 }], | 2308 }], |
2284 ['enable_background==1', { | 2309 ['enable_background==1', { |
2285 'sources': [ '<@(chrome_unit_tests_background_sources)' ], | 2310 'sources': [ '<@(chrome_unit_tests_background_sources)' ], |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2648 ], | 2673 ], |
2649 }, { # 'OS!="android" and OS!="ios"' | 2674 }, { # 'OS!="android" and OS!="ios"' |
2650 'dependencies': [ | 2675 'dependencies': [ |
2651 '../components/components.gyp:bubble_test_support', | 2676 '../components/components.gyp:bubble_test_support', |
2652 'tools/profile_reset/jtl_compiler.gyp:jtl_compiler_lib', | 2677 'tools/profile_reset/jtl_compiler.gyp:jtl_compiler_lib', |
2653 ], | 2678 ], |
2654 }], | 2679 }], |
2655 ['OS != "android" and chromeos == 0', { | 2680 ['OS != "android" and chromeos == 0', { |
2656 'sources': [ '<@(chrome_unit_tests_non_android_or_chromeos_sources)' ]
, | 2681 'sources': [ '<@(chrome_unit_tests_non_android_or_chromeos_sources)' ]
, |
2657 }], | 2682 }], |
2658 ['OS=="android"', { | |
2659 'sources': [ '<@(chrome_unit_tests_offline_pages_sources)' ], | |
2660 'dependencies!': [ | |
2661 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput'
, | |
2662 ], | |
2663 'sources!': [ | |
2664 'common/spellcheck_common_unittest.cc', | |
2665 'renderer/spellchecker/spellcheck_multilingual_unittest.cc', | |
2666 'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc', | |
2667 'renderer/spellchecker/spellcheck_unittest.cc', | |
2668 ], | |
2669 'ldflags': [ | |
2670 # Some android targets still depend on --gc-sections to link. | |
2671 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). | |
2672 '-Wl,--gc-sections', | |
2673 ], | |
2674 'dependencies': [ | |
2675 '../testing/android/native_test.gyp:native_test_native_code', | |
2676 ], | |
2677 }, { # Not Android. | |
2678 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], | |
2679 'sources!': [ | |
2680 'browser/download/download_request_infobar_delegate_unittest.cc', | |
2681 ], | |
2682 }], | |
2683 ['enable_themes == 1', { | 2683 ['enable_themes == 1', { |
2684 'sources': [ '<@(chrome_unit_tests_themes_sources)' ], | 2684 'sources': [ '<@(chrome_unit_tests_themes_sources)' ], |
2685 }], | 2685 }], |
2686 ['toolkit_views==1', { | 2686 ['toolkit_views==1', { |
2687 'dependencies': [ | 2687 'dependencies': [ |
2688 '../components/components.gyp:web_modal_test_support', | 2688 '../components/components.gyp:web_modal_test_support', |
2689 '../ui/views/views.gyp:views', | 2689 '../ui/views/views.gyp:views', |
2690 '../ui/views/views.gyp:views_test_support', | 2690 '../ui/views/views.gyp:views_test_support', |
2691 ], | 2691 ], |
2692 'sources': [ '<@(chrome_unit_tests_views_sources)' ], | 2692 'sources': [ '<@(chrome_unit_tests_views_sources)' ], |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2973 'dependencies': [ | 2973 'dependencies': [ |
2974 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2974 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2975 ], | 2975 ], |
2976 }], | 2976 }], |
2977 ], | 2977 ], |
2978 }, | 2978 }, |
2979 ], | 2979 ], |
2980 }], | 2980 }], |
2981 ], # 'conditions' | 2981 ], # 'conditions' |
2982 } | 2982 } |
OLD | NEW |