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

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: Rebase to master (dependent CL landed) 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 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 "//base", 649 "//base",
650 "//chrome", 650 "//chrome",
651 "//components/invalidation/impl", 651 "//components/invalidation/impl",
652 "//components/invalidation/impl:test_support", 652 "//components/invalidation/impl:test_support",
653 "//content/test:browsertest_base", 653 "//content/test:browsertest_base",
654 "//net", 654 "//net",
655 "//skia", 655 "//skia",
656 "//sync", 656 "//sync",
657 "//sync:test_support_sync_fake_server", 657 "//sync:test_support_sync_fake_server",
658 "//sync:test_support_sync_testserver", 658 "//sync:test_support_sync_testserver",
659 "//ui/app_list:test_support",
660 ] 659 ]
661 660
662 if (is_mac) { 661 if (is_mac) {
663 sources -= [ 662 sources -= [
664 "../browser/sync/test/integration/dictionary_helper.cc", 663 "../browser/sync/test/integration/dictionary_helper.cc",
665 "../browser/sync/test/integration/dictionary_helper.h", 664 "../browser/sync/test/integration/dictionary_helper.h",
666 "../browser/sync/test/integration/dictionary_load_observer.cc", 665 "../browser/sync/test/integration/dictionary_load_observer.cc",
667 "../browser/sync/test/integration/dictionary_load_observer.h", 666 "../browser/sync/test/integration/dictionary_load_observer.h",
668 ] 667 ]
669 } 668 }
670 if (!enable_app_list) { 669 if (enable_app_list) {
670 deps += [ "//ui/app_list:test_support" ]
671 } else {
671 sources -= [ 672 sources -= [
672 "../browser/sync/test/integration/sync_app_list_helper.cc", 673 "../browser/sync/test/integration/sync_app_list_helper.cc",
673 "../browser/sync/test/integration/sync_app_list_helper.h", 674 "../browser/sync/test/integration/sync_app_list_helper.h",
674 ] 675 ]
675 } 676 }
676 if (!is_chromeos) { 677 if (!is_chromeos) {
677 sources -= [ 678 sources -= [
678 "../browser/sync/test/integration/wifi_credentials_helper.cc", 679 "../browser/sync/test/integration/wifi_credentials_helper.cc",
679 "../browser/sync/test/integration/wifi_credentials_helper.h", 680 "../browser/sync/test/integration/wifi_credentials_helper.h",
680 ] 681 ]
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 if (!is_android && !is_ios) { 1276 if (!is_android && !is_ios) {
1276 sources += 1277 sources +=
1277 [ "../browser/copresence/chrome_whispernet_client_browsertest.cc" ] 1278 [ "../browser/copresence/chrome_whispernet_client_browsertest.cc" ]
1278 deps += [ "//components/copresence" ] 1279 deps += [ "//components/copresence" ]
1279 } 1280 }
1280 if (enable_app_list) { 1281 if (enable_app_list) {
1281 sources += rebase_path( 1282 sources += rebase_path(
1282 chrome_tests_gypi_values.chrome_browser_tests_app_list_sources, 1283 chrome_tests_gypi_values.chrome_browser_tests_app_list_sources,
1283 ".", 1284 ".",
1284 "//chrome") 1285 "//chrome")
1286 if (is_mac) {
1287 # This assumes the AppList is views-based.
1288 sources -=
1289 [ "../browser/ui/app_list/app_list_service_views_browsertest.cc" ]
1290 }
1285 } 1291 }
1286 if (enable_service_discovery) { 1292 if (enable_service_discovery) {
1287 sources += rebase_path( 1293 sources += rebase_path(
1288 chrome_tests_gypi_values.chrome_browser_tests_service_discovery_so urces, 1294 chrome_tests_gypi_values.chrome_browser_tests_service_discovery_so urces,
1289 ".", 1295 ".",
1290 "//chrome") 1296 "//chrome")
1291 } 1297 }
1292 if (enable_supervised_users) { 1298 if (enable_supervised_users) {
1293 sources += rebase_path( 1299 sources += rebase_path(
1294 chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sour ces, 1300 chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sour ces,
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 # for the Cocoa implementation." 2173 # for the Cocoa implementation."
2168 sources -= [ "../browser/ui/app_list/app_list_shower_views_unittest.cc" ] 2174 sources -= [ "../browser/ui/app_list/app_list_shower_views_unittest.cc" ]
2169 } 2175 }
2170 deps += [ "//ui/app_list:test_support" ] 2176 deps += [ "//ui/app_list:test_support" ]
2171 } 2177 }
2172 if (enable_app_list && is_chromeos) { 2178 if (enable_app_list && is_chromeos) {
2173 sources += rebase_path( 2179 sources += rebase_path(
2174 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_so urces, 2180 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_so urces,
2175 ".", 2181 ".",
2176 "//chrome") 2182 "//chrome")
2183 sources -=
2184 [ "../browser/ui/views/app_list/linux/app_list_linux_unittest.cc" ]
2177 deps += [ "//components/arc:arc_test_support" ] 2185 deps += [ "//components/arc:arc_test_support" ]
2178 } 2186 }
2179 if (enable_plugins && !enable_plugin_installation) { 2187 if (enable_plugins && !enable_plugin_installation) {
2180 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] 2188 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ]
2181 } 2189 }
2182 } 2190 }
2183 2191
2184 if (safe_browsing_mode == 1 && is_mac) { 2192 if (safe_browsing_mode == 1 && is_mac) {
2185 action("mac_safe_browsing_test_data") { 2193 action("mac_safe_browsing_test_data") {
2186 script = "//build/gn_run_binary.py" 2194 script = "//build/gn_run_binary.py"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
2336 if (is_android) { 2344 if (is_android) {
2337 android_library("unit_tests_java") { 2345 android_library("unit_tests_java") {
2338 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2346 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2339 deps = [ 2347 deps = [
2340 "//base:base_java", 2348 "//base:base_java",
2341 "//chrome/android:chrome_java", 2349 "//chrome/android:chrome_java",
2342 "//content/public/android:content_java", 2350 "//content/public/android:content_java",
2343 ] 2351 ]
2344 } 2352 }
2345 } 2353 }
OLDNEW
« chrome/chrome_tests.gypi ('K') | « chrome/common/extensions/api/schemas.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698