Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Side by Side Diff: chrome/test/BUILD.gn

Issue 2198143002: Componentize spellcheck [3]: move renderer/ files to component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix formatting Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1895 matching lines...) Expand 10 before | Expand all | Expand 10 after
1906 1906
1907 if (is_ios || is_chromeos) { 1907 if (is_ios || is_chromeos) {
1908 sources -= [ "../browser/signin/chrome_signin_status_metrics_provider_delega te_unittest.cc" ] 1908 sources -= [ "../browser/signin/chrome_signin_status_metrics_provider_delega te_unittest.cc" ]
1909 } 1909 }
1910 if (enable_background) { 1910 if (enable_background) {
1911 sources += rebase_path( 1911 sources += rebase_path(
1912 chrome_tests_unit_gypi_values.chrome_unit_tests_background_sources, 1912 chrome_tests_unit_gypi_values.chrome_unit_tests_background_sources,
1913 ".", 1913 ".",
1914 "//chrome") 1914 "//chrome")
1915 } 1915 }
1916
1916 if (enable_spellcheck) { 1917 if (enable_spellcheck) {
1917 sources += rebase_path( 1918 sources += rebase_path(
1918 chrome_tests_unit_gypi_values.chrome_unit_tests_spellchecker_sources , 1919 chrome_tests_unit_gypi_values.chrome_unit_tests_spellchecker_sources ,
1919 ".", 1920 ".",
1920 "//chrome") 1921 "//chrome")
1921 if (is_mac && !is_ios) {
1922 deps += [ "//third_party/hunspell" ]
1923 }
1924
1925 if (is_android) {
1926 sources -= [
1927 "../renderer/spellchecker/spellcheck_multilingual_unittest.cc",
1928 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc",
1929 "../renderer/spellchecker/spellcheck_unittest.cc",
1930 ]
1931 }
1932 } 1922 }
1933 1923
1934 if (enable_one_click_signin) { 1924 if (enable_one_click_signin) {
1935 sources += [ 1925 sources += [
1936 "../browser/ui/sync/one_click_signin_sync_observer_unittest.cc", 1926 "../browser/ui/sync/one_click_signin_sync_observer_unittest.cc",
1937 "../browser/ui/sync/one_click_signin_sync_starter_unittest.cc", 1927 "../browser/ui/sync/one_click_signin_sync_starter_unittest.cc",
1938 ] 1928 ]
1939 } 1929 }
1940 1930
1941 if (enable_extensions) { 1931 if (enable_extensions) {
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
2146 ldflags = [ "-Wl,--strip-debug" ] 2136 ldflags = [ "-Wl,--strip-debug" ]
2147 } 2137 }
2148 if (is_mac) { 2138 if (is_mac) {
2149 sources -= [ 2139 sources -= [
2150 # This tests the function GetSpellCheckLanguages which is not used on 2140 # This tests the function GetSpellCheckLanguages which is not used on
2151 # Mac. 2141 # Mac.
2152 "../browser/spellchecker/spellcheck_service_unittest.cc", 2142 "../browser/spellchecker/spellcheck_service_unittest.cc",
2153 "../browser/ui/tests/ui_gfx_image_unittest.cc", 2143 "../browser/ui/tests/ui_gfx_image_unittest.cc",
2154 2144
2155 # This tests Chrome's spellchecker which Mac doesn't use. 2145 # This tests Chrome's spellchecker which Mac doesn't use.
2156 "../renderer/spellchecker/spellcheck_multilingual_unittest.cc",
2157 "../renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc",
2158 "../tools/convert_dict/convert_dict_unittest.cc", 2146 "../tools/convert_dict/convert_dict_unittest.cc",
2159 ] 2147 ]
2160 2148
2161 # The test fetches resources which means Mac need the app bundle to exist 2149 # The test fetches resources which means Mac need the app bundle to exist
2162 # on disk so it can pull from it. 2150 # on disk so it can pull from it.
2163 deps += [ 2151 deps += [
2164 "//third_party/google_toolbox_for_mac", 2152 "//third_party/google_toolbox_for_mac",
2165 "//third_party/ocmock", 2153 "//third_party/ocmock",
2166 ] 2154 ]
2167 2155
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
2474 if (is_android) { 2462 if (is_android) {
2475 android_library("unit_tests_java") { 2463 android_library("unit_tests_java") {
2476 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2464 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2477 deps = [ 2465 deps = [
2478 "//base:base_java", 2466 "//base:base_java",
2479 "//chrome/android:chrome_java", 2467 "//chrome/android:chrome_java",
2480 "//content/public/android:content_java", 2468 "//content/public/android:content_java",
2481 ] 2469 ]
2482 } 2470 }
2483 } 2471 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698