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

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

Issue 2303453003: Revert of Moves ash content specific tests into ash_content_unittests (Closed)
Patch Set: Created 4 years, 3 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 } 221 }
222 222
223 if (use_ash) { 223 if (use_ash) {
224 sources += [ 224 sources += [
225 "base/default_ash_event_generator_delegate.cc", 225 "base/default_ash_event_generator_delegate.cc",
226 "base/default_ash_event_generator_delegate.h", 226 "base/default_ash_event_generator_delegate.h",
227 ] 227 ]
228 228
229 public_deps += [ 229 public_deps += [
230 "//ash", 230 "//ash",
231 "//ash:test_support_without_content", 231 "//ash:test_support",
232 "//ui/aura", 232 "//ui/aura",
233 "//ui/aura:test_support", 233 "//ui/aura:test_support",
234 ] 234 ]
235 } 235 }
236 if (toolkit_views) { 236 if (toolkit_views) {
237 public_deps += [ "//ui/views:test_support" ] 237 public_deps += [ "//ui/views:test_support" ]
238 } 238 }
239 239
240 if (enable_extensions) { 240 if (enable_extensions) {
241 public_deps += [ 241 public_deps += [
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 "//extensions:chrome_extensions_browsertests", 1144 "//extensions:chrome_extensions_browsertests",
1145 "//extensions/common/api", 1145 "//extensions/common/api",
1146 ] 1146 ]
1147 } 1147 }
1148 1148
1149 if (use_ash) { 1149 if (use_ash) {
1150 sources += 1150 sources +=
1151 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_ash_sources, 1151 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_ash_sources,
1152 ".", 1152 ".",
1153 "//chrome") 1153 "//chrome")
1154 deps += [ "//ash:test_support_without_content" ] 1154 deps += [ "//ash:test_support" ]
1155 1155
1156 if (enable_app_list) { 1156 if (enable_app_list) {
1157 deps += [ ":test_support_applist_ash" ] 1157 deps += [ ":test_support_applist_ash" ]
1158 } 1158 }
1159 } 1159 }
1160 if (use_aura || toolkit_views) { 1160 if (use_aura || toolkit_views) {
1161 deps += [ "//ui/events:test_support" ] 1161 deps += [ "//ui/events:test_support" ]
1162 } 1162 }
1163 if (toolkit_views) { 1163 if (toolkit_views) {
1164 sources += rebase_path( 1164 sources += rebase_path(
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
1953 ".", 1953 ".",
1954 "//chrome") 1954 "//chrome")
1955 } 1955 }
1956 } 1956 }
1957 if (use_ash) { 1957 if (use_ash) {
1958 sources += 1958 sources +=
1959 rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_ash_sources, 1959 rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_ash_sources,
1960 ".", 1960 ".",
1961 "//chrome") 1961 "//chrome")
1962 deps += [ 1962 deps += [
1963 "//ash:test_support_with_content", 1963 "//ash:test_support",
1964 "//ash/common/strings", 1964 "//ash/common/strings",
1965 "//ash/resources", 1965 "//ash/resources",
1966 ] 1966 ]
1967 1967
1968 # We eventually want to compile both in Win Aura builds, see 1968 # We eventually want to compile both in Win Aura builds, see
1969 # http://crbug.com/155545. 1969 # http://crbug.com/155545.
1970 if (!is_win) { 1970 if (!is_win) {
1971 sources -= [ "../browser/ui/window_sizer/window_sizer_unittest.cc" ] 1971 sources -= [ "../browser/ui/window_sizer/window_sizer_unittest.cc" ]
1972 } 1972 }
1973 } 1973 }
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
2099 } 2099 }
2100 if (is_chromeos) { 2100 if (is_chromeos) {
2101 deps += [ 2101 deps += [
2102 "//chrome/browser/chromeos:unit_tests", 2102 "//chrome/browser/chromeos:unit_tests",
2103 "//chromeos/ime:gencode", 2103 "//chromeos/ime:gencode",
2104 ] 2104 ]
2105 sources -= [ 2105 sources -= [
2106 "../browser/policy/cloud/user_policy_signin_service_unittest.cc", 2106 "../browser/policy/cloud/user_policy_signin_service_unittest.cc",
2107 "../browser/signin/signin_manager_unittest.cc", 2107 "../browser/signin/signin_manager_unittest.cc",
2108 ] 2108 ]
2109 sources += [
2110 "base/ash_test_environment_chrome.cc",
2111 "base/ash_test_environment_chrome.h",
2112 ]
2113 } 2109 }
2114 if (use_x11) { 2110 if (use_x11) {
2115 deps += [ "//ui/events/devices" ] 2111 deps += [ "//ui/events/devices" ]
2116 data_deps += [ "//tools/xdisplaycheck" ] 2112 data_deps += [ "//tools/xdisplaycheck" ]
2117 } else { 2113 } else {
2118 sources -= [ "../browser/password_manager/password_store_x_unittest.cc" ] 2114 sources -= [ "../browser/password_manager/password_store_x_unittest.cc" ]
2119 } 2115 }
2120 if (use_gnome_keyring && current_cpu == "x64") { 2116 if (use_gnome_keyring && current_cpu == "x64") {
2121 # Only add this test for 64 bit builds because otherwise we need the 32 2117 # Only add this test for 64 bit builds because otherwise we need the 32
2122 # bit library on 64 bit systems when running this test. 2118 # bit library on 64 bit systems when running this test.
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
2503 "touch_hud", 2499 "touch_hud",
2504 "ui", 2500 "ui",
2505 ] 2501 ]
2506 2502
2507 if (is_linux && !is_android) { 2503 if (is_linux && !is_android) {
2508 deps += [ "//components/font_service:manifest" ] 2504 deps += [ "//components/font_service:manifest" ]
2509 packaged_services += [ "font_service" ] 2505 packaged_services += [ "font_service" ]
2510 } 2506 }
2511 } 2507 }
2512 } 2508 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698