| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
| 7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//chrome/chrome_tests.gni") | 10 import("//chrome/chrome_tests.gni") |
| (...skipping 1912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1923 | 1923 |
| 1924 if (is_ios || is_chromeos) { | 1924 if (is_ios || is_chromeos) { |
| 1925 sources -= [ "../browser/signin/chrome_signin_status_metrics_provider_delega
te_unittest.cc" ] | 1925 sources -= [ "../browser/signin/chrome_signin_status_metrics_provider_delega
te_unittest.cc" ] |
| 1926 } | 1926 } |
| 1927 if (enable_background) { | 1927 if (enable_background) { |
| 1928 sources += rebase_path( | 1928 sources += rebase_path( |
| 1929 chrome_tests_unit_gypi_values.chrome_unit_tests_background_sources, | 1929 chrome_tests_unit_gypi_values.chrome_unit_tests_background_sources, |
| 1930 ".", | 1930 ".", |
| 1931 "//chrome") | 1931 "//chrome") |
| 1932 } | 1932 } |
| 1933 |
| 1933 if (enable_spellcheck) { | 1934 if (enable_spellcheck) { |
| 1934 sources += rebase_path( | 1935 sources += rebase_path( |
| 1935 chrome_tests_unit_gypi_values.chrome_unit_tests_spellchecker_sources
, | 1936 chrome_tests_unit_gypi_values.chrome_unit_tests_spellchecker_sources
, |
| 1936 ".", | 1937 ".", |
| 1937 "//chrome") | 1938 "//chrome") |
| 1938 if (is_mac && !is_ios) { | |
| 1939 deps += [ "//third_party/hunspell" ] | |
| 1940 } | |
| 1941 | |
| 1942 if (is_android) { | |
| 1943 sources -= [ | |
| 1944 "../renderer/spellchecker/spellcheck_multilingual_unittest.cc", | |
| 1945 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc", | |
| 1946 "../renderer/spellchecker/spellcheck_unittest.cc", | |
| 1947 ] | |
| 1948 } | |
| 1949 } | 1939 } |
| 1950 | 1940 |
| 1951 if (enable_one_click_signin) { | 1941 if (enable_one_click_signin) { |
| 1952 sources += [ | 1942 sources += [ |
| 1953 "../browser/ui/sync/one_click_signin_sync_observer_unittest.cc", | 1943 "../browser/ui/sync/one_click_signin_sync_observer_unittest.cc", |
| 1954 "../browser/ui/sync/one_click_signin_sync_starter_unittest.cc", | 1944 "../browser/ui/sync/one_click_signin_sync_starter_unittest.cc", |
| 1955 ] | 1945 ] |
| 1956 } | 1946 } |
| 1957 | 1947 |
| 1958 if (enable_extensions) { | 1948 if (enable_extensions) { |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2163 ldflags = [ "-Wl,--strip-debug" ] | 2153 ldflags = [ "-Wl,--strip-debug" ] |
| 2164 } | 2154 } |
| 2165 if (is_mac) { | 2155 if (is_mac) { |
| 2166 sources -= [ | 2156 sources -= [ |
| 2167 # This tests the function GetSpellCheckLanguages which is not used on | 2157 # This tests the function GetSpellCheckLanguages which is not used on |
| 2168 # Mac. | 2158 # Mac. |
| 2169 "../browser/spellchecker/spellcheck_service_unittest.cc", | 2159 "../browser/spellchecker/spellcheck_service_unittest.cc", |
| 2170 "../browser/ui/tests/ui_gfx_image_unittest.cc", | 2160 "../browser/ui/tests/ui_gfx_image_unittest.cc", |
| 2171 | 2161 |
| 2172 # This tests Chrome's spellchecker which Mac doesn't use. | 2162 # This tests Chrome's spellchecker which Mac doesn't use. |
| 2173 "../renderer/spellchecker/spellcheck_multilingual_unittest.cc", | |
| 2174 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc", | |
| 2175 "../tools/convert_dict/convert_dict_unittest.cc", | 2163 "../tools/convert_dict/convert_dict_unittest.cc", |
| 2176 ] | 2164 ] |
| 2177 | 2165 |
| 2178 # The test fetches resources which means Mac need the app bundle to exist | 2166 # The test fetches resources which means Mac need the app bundle to exist |
| 2179 # on disk so it can pull from it. | 2167 # on disk so it can pull from it. |
| 2180 deps += [ | 2168 deps += [ |
| 2181 "//third_party/google_toolbox_for_mac", | 2169 "//third_party/google_toolbox_for_mac", |
| 2182 "//third_party/ocmock", | 2170 "//third_party/ocmock", |
| 2183 ] | 2171 ] |
| 2184 | 2172 |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2491 if (is_android) { | 2479 if (is_android) { |
| 2492 android_library("unit_tests_java") { | 2480 android_library("unit_tests_java") { |
| 2493 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2481 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
| 2494 deps = [ | 2482 deps = [ |
| 2495 "//base:base_java", | 2483 "//base:base_java", |
| 2496 "//chrome/android:chrome_java", | 2484 "//chrome/android:chrome_java", |
| 2497 "//content/public/android:content_java", | 2485 "//content/public/android:content_java", |
| 2498 ] | 2486 ] |
| 2499 } | 2487 } |
| 2500 } | 2488 } |
| OLD | NEW |