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..111ab726b66216c5b30097812ef31fd4f92a380a 100644 |
--- a/extensions/browser/app_window/BUILD.gn |
+++ b/extensions/browser/app_window/BUILD.gn |
@@ -2,6 +2,11 @@ |
# 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") |
+ |
+assert(enable_extensions, |
+ "Cannot depend on extensions because enable_extensions=false.") |
+ |
source_set("app_window") { |
sources = [ |
"app_delegate.h", |