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

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: drop patchset dependency, rebase to master Created 4 years, 8 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') | build/common.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 103cf9ab6ce594eb4f87aa4ab0c45f05b4003f6e..d5c2c8e6c5a637616fd654fbc8f1b6170f63115b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -194,7 +194,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",
]
}
@@ -272,11 +271,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",
@@ -553,7 +563,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') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698