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

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

Issue 1861233003: Prepare for building with enable_app_list=0 on Desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drop patchset dependency, rebase to master Created 4 years, 7 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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 "//base", 614 "//base",
615 "//chrome", 615 "//chrome",
616 "//components/invalidation/impl", 616 "//components/invalidation/impl",
617 "//components/invalidation/impl:test_support", 617 "//components/invalidation/impl:test_support",
618 "//content/test:browsertest_base", 618 "//content/test:browsertest_base",
619 "//net", 619 "//net",
620 "//skia", 620 "//skia",
621 "//sync", 621 "//sync",
622 "//sync:test_support_sync_fake_server", 622 "//sync:test_support_sync_fake_server",
623 "//sync:test_support_sync_testserver", 623 "//sync:test_support_sync_testserver",
624 "//ui/app_list:test_support",
625 ] 624 ]
626 625
627 if (is_mac) { 626 if (is_mac) {
628 sources -= [ 627 sources -= [
629 "../browser/sync/test/integration/dictionary_helper.cc", 628 "../browser/sync/test/integration/dictionary_helper.cc",
630 "../browser/sync/test/integration/dictionary_helper.h", 629 "../browser/sync/test/integration/dictionary_helper.h",
631 "../browser/sync/test/integration/dictionary_load_observer.cc", 630 "../browser/sync/test/integration/dictionary_load_observer.cc",
632 "../browser/sync/test/integration/dictionary_load_observer.h", 631 "../browser/sync/test/integration/dictionary_load_observer.h",
633 ] 632 ]
634 } 633 }
635 if (!enable_app_list) { 634 if (enable_app_list) {
635 deps += [ "//ui/app_list:test_support" ]
636 } else {
636 sources -= [ 637 sources -= [
637 "../browser/sync/test/integration/sync_app_list_helper.cc", 638 "../browser/sync/test/integration/sync_app_list_helper.cc",
638 "../browser/sync/test/integration/sync_app_list_helper.h", 639 "../browser/sync/test/integration/sync_app_list_helper.h",
639 ] 640 ]
640 } 641 }
641 if (!is_chromeos) { 642 if (!is_chromeos) {
642 sources -= [ 643 sources -= [
643 "../browser/sync/test/integration/wifi_credentials_helper.cc", 644 "../browser/sync/test/integration/wifi_credentials_helper.cc",
644 "../browser/sync/test/integration/wifi_credentials_helper.h", 645 "../browser/sync/test/integration/wifi_credentials_helper.h",
645 ] 646 ]
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 if (!is_android && !is_ios) { 1269 if (!is_android && !is_ios) {
1269 sources += 1270 sources +=
1270 [ "../browser/copresence/chrome_whispernet_client_browsertest.cc" ] 1271 [ "../browser/copresence/chrome_whispernet_client_browsertest.cc" ]
1271 deps += [ "//components/copresence" ] 1272 deps += [ "//components/copresence" ]
1272 } 1273 }
1273 if (enable_app_list) { 1274 if (enable_app_list) {
1274 sources += rebase_path( 1275 sources += rebase_path(
1275 chrome_tests_gypi_values.chrome_browser_tests_app_list_sources, 1276 chrome_tests_gypi_values.chrome_browser_tests_app_list_sources,
1276 ".", 1277 ".",
1277 "//chrome") 1278 "//chrome")
1279 if (is_mac) {
1280 # This assumes the AppList is views-based.
1281 sources -=
1282 [ "../browser/ui/app_list/app_list_service_views_browsertest.cc" ]
1283 }
1278 } 1284 }
1279 if (enable_service_discovery) { 1285 if (enable_service_discovery) {
1280 sources += rebase_path( 1286 sources += rebase_path(
1281 chrome_tests_gypi_values.chrome_browser_tests_service_discovery_so urces, 1287 chrome_tests_gypi_values.chrome_browser_tests_service_discovery_so urces,
1282 ".", 1288 ".",
1283 "//chrome") 1289 "//chrome")
1284 } 1290 }
1285 if (enable_supervised_users) { 1291 if (enable_supervised_users) {
1286 sources += rebase_path( 1292 sources += rebase_path(
1287 chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sour ces, 1293 chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sour ces,
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
2134 "//chrome") 2140 "//chrome")
2135 } 2141 }
2136 if (safe_browsing_mode == 1 && enable_extensions) { 2142 if (safe_browsing_mode == 1 && enable_extensions) {
2137 sources += [ "../browser/extensions/blacklist_unittest.cc" ] 2143 sources += [ "../browser/extensions/blacklist_unittest.cc" ]
2138 } 2144 }
2139 if (enable_app_list) { 2145 if (enable_app_list) {
2140 sources += rebase_path( 2146 sources += rebase_path(
2141 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_sources, 2147 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_sources,
2142 ".", 2148 ".",
2143 "//chrome") 2149 "//chrome")
2150 if (is_mac) {
2151 # This assumes the AppList is views-based.
2152 sources -= [ "../browser/ui/app_list/app_list_shower_views_unittest.cc" ]
2153 }
2144 deps += [ "//ui/app_list:test_support" ] 2154 deps += [ "//ui/app_list:test_support" ]
2145 } 2155 }
2146 if (enable_app_list && is_chromeos) { 2156 if (enable_app_list && is_chromeos) {
2147 sources += rebase_path( 2157 sources += rebase_path(
2148 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_so urces, 2158 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_so urces,
2149 ".", 2159 ".",
2150 "//chrome") 2160 "//chrome")
2161 sources -=
2162 [ "../browser/ui/views/app_list/linux/app_list_linux_unittest.cc" ]
2151 sources += rebase_path( 2163 sources += rebase_path(
2152 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_ar c_sources, 2164 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_ar c_sources,
2153 ".", 2165 ".",
2154 "//chrome") 2166 "//chrome")
2155 deps += [ "//components/arc:arc_test_support" ] 2167 deps += [ "//components/arc:arc_test_support" ]
2156 } 2168 }
2157 if (enable_plugins && !enable_plugin_installation) { 2169 if (enable_plugins && !enable_plugin_installation) {
2158 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] 2170 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ]
2159 } 2171 }
2160 } 2172 }
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
2266 if (is_android) { 2278 if (is_android) {
2267 android_library("unit_tests_java") { 2279 android_library("unit_tests_java") {
2268 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2280 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2269 deps = [ 2281 deps = [
2270 "//base:base_java", 2282 "//base:base_java",
2271 "//chrome/android:chrome_java", 2283 "//chrome/android:chrome_java",
2272 "//content/public/android:content_java", 2284 "//content/public/android:content_java",
2273 ] 2285 ]
2274 } 2286 }
2275 } 2287 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698