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

Unified Diff: apps/BUILD.gn

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Fix error from "gn gen out --check" Created 3 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
Index: apps/BUILD.gn
diff --git a/apps/BUILD.gn b/apps/BUILD.gn
index fae99193fa0d25e67101b71bb21c38df9f150879..0b9f4aaf640f91fd4aac757a4a08e2867a576e0f 100644
--- a/apps/BUILD.gn
+++ b/apps/BUILD.gn
@@ -40,11 +40,16 @@ static_library("apps") {
"//components/keyed_service/content",
"//content/public/browser",
"//content/public/common",
- "//extensions/browser",
- "//extensions/common",
- "//extensions/common/api",
]
+ if (enable_extensions) {
+ deps += [
+ "//extensions/browser",
+ "//extensions/common",
+ "//extensions/common/api",
+ ]
+ }
+
if (is_chromeos) {
deps += [ "//components/user_manager" ]
}
« no previous file with comments | « BUILD.gn ('k') | apps/ui/views/BUILD.gn » ('j') | chrome/browser/devtools/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698