| Index: chrome/test/BUILD.gn
|
| diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
|
| index afb2d11134dba16bba480059c95b884f9ac489da..5cc62da00a0c6cadad1bd865b465ac4f9830f1e4 100644
|
| --- a/chrome/test/BUILD.gn
|
| +++ b/chrome/test/BUILD.gn
|
| @@ -656,7 +656,6 @@ if (!is_android) {
|
| "//sync",
|
| "//sync:test_support_sync_fake_server",
|
| "//sync:test_support_sync_testserver",
|
| - "//ui/app_list:test_support",
|
| ]
|
|
|
| if (is_mac) {
|
| @@ -667,7 +666,9 @@ if (!is_android) {
|
| "../browser/sync/test/integration/dictionary_load_observer.h",
|
| ]
|
| }
|
| - if (!enable_app_list) {
|
| + if (enable_app_list) {
|
| + deps += [ "//ui/app_list:test_support" ]
|
| + } else {
|
| sources -= [
|
| "../browser/sync/test/integration/sync_app_list_helper.cc",
|
| "../browser/sync/test/integration/sync_app_list_helper.h",
|
| @@ -1282,6 +1283,11 @@ if (!is_android) {
|
| chrome_tests_gypi_values.chrome_browser_tests_app_list_sources,
|
| ".",
|
| "//chrome")
|
| + if (is_mac) {
|
| + # This assumes the AppList is views-based.
|
| + sources -=
|
| + [ "../browser/ui/app_list/app_list_service_views_browsertest.cc" ]
|
| + }
|
| }
|
| if (enable_service_discovery) {
|
| sources += rebase_path(
|
| @@ -2174,6 +2180,8 @@ test("unit_tests") {
|
| chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_sources,
|
| ".",
|
| "//chrome")
|
| + sources -=
|
| + [ "../browser/ui/views/app_list/linux/app_list_linux_unittest.cc" ]
|
| deps += [ "//components/arc:arc_test_support" ]
|
| }
|
| if (enable_plugins && !enable_plugin_installation) {
|
|
|