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

Unified Diff: chrome/browser/ui/BUILD.gn

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Assert enable_extensions: common/BUILD.gn and features/BUILD.gn are marked TODO(crbug.com/731689) Created 3 years, 6 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
Index: chrome/browser/ui/BUILD.gn
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
index 9dff41e6e3ae99d91c1f46e2e261c5929f4f7ca8..4b8e8e48ed03790ea37b7b9d27c2c3e640ead470 100644
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -1193,8 +1193,6 @@ split_static_library("ui") {
"zoom/chrome_zoom_level_prefs.h",
]
deps += [
- "//apps",
- "//apps/ui/views",
"//chrome/app/vector_icons",
"//chrome/browser/profile_resetter:profile_reset_report_proto",
"//chrome/common:features",
@@ -1203,11 +1201,18 @@ split_static_library("ui") {
"//components/web_modal",
"//components/zoom",
"//device/bluetooth",
- "//extensions/common:mojo",
"//mash/public/interfaces",
"//services/device/public/interfaces",
"//ui/vector_icons",
]
+
+ if (enable_extensions) {
+ deps += [
+ "//apps",
+ "//apps/ui/views",
+ "//extensions/common:mojo",
+ ]
+ }
}
if (enable_basic_printing || enable_print_preview) {

Powered by Google App Engine
This is Rietveld 408576698