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

Unified Diff: 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 for r392580 - app_list_shower_views_unittest deleted by that rev 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/all.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 39e55b9f3deb671f85c4387c8671b68051d26d7b..cbad7c35fb3da7020843b6b2e0568142663d441d 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -190,7 +190,6 @@ group("both_gn_and_gyp") {
"//tools/gn:gn_unittests",
"//tools/perf/clear_system_cache",
"//ui/accessibility:accessibility_unittests",
- "//ui/app_list:app_list_unittests",
]
}
@@ -268,11 +267,22 @@ group("both_gn_and_gyp") {
deps += [ "//ui/views:views_unittests" ]
}
+ if (enable_app_list) {
+ deps += [ "//ui/app_list:app_list_unittests" ]
+ }
+
+ if (enable_app_list && use_aura) {
+ deps += [
+ # TODO(tapted): Move this into enable_app_list when enable_app_list is not
+ # true on Mac.
+ "//ui/app_list/presenter:app_list_presenter_unittests",
+ ]
+ }
+
if (use_aura) {
deps += [
"//ash:ash_shell_with_content",
"//ash:ash_unittests",
- "//ui/app_list/presenter:app_list_presenter_unittests",
"//ui/aura:aura_unittests",
"//ui/aura:demo",
"//ui/wm:wm_unittests",
@@ -543,7 +553,7 @@ group("both_gn_and_gyp") {
}
}
- if (toolkit_views) {
+ if (enable_app_list) {
deps += [ "//ui/app_list:app_list_demo" ]
}
« no previous file with comments | « no previous file | build/all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698