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

Unified Diff: extensions/browser/app_window/BUILD.gn

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Rebase and address comment in src/BUILD.gn 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
« apps/ui/views/BUILD.gn ('K') | « extensions/browser/api/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/app_window/BUILD.gn
diff --git a/extensions/browser/app_window/BUILD.gn b/extensions/browser/app_window/BUILD.gn
index d903645c23152588ad03ebb755b09cb2987979e0..5e9fe284b090bffb70181ff02c2e97576005700b 100644
--- a/extensions/browser/app_window/BUILD.gn
+++ b/extensions/browser/app_window/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//extensions/features/features.gni")
+
source_set("app_window") {
sources = [
"app_delegate.h",
@@ -29,7 +31,12 @@ source_set("app_window") {
deps = [
"//content/public/common",
- "//extensions:extensions_browser_resources",
- "//extensions/strings",
]
+
+ if (enable_extensions) {
+ deps += [
+ "//extensions:extensions_browser_resources",
+ "//extensions/strings",
+ ]
+ }
}
« apps/ui/views/BUILD.gn ('K') | « extensions/browser/api/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698