Index: extensions/browser/guest_view/web_view/web_ui/BUILD.gn |
diff --git a/extensions/browser/guest_view/web_view/web_ui/BUILD.gn b/extensions/browser/guest_view/web_view/web_ui/BUILD.gn |
index 17a8fe08b7199a46625d1c9b9301b378a7eca440..3ad2f7a8bdff45e5733623a4bb0d460c2bd3f43a 100644 |
--- a/extensions/browser/guest_view/web_view/web_ui/BUILD.gn |
+++ b/extensions/browser/guest_view/web_view/web_ui/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("web_ui") { |
sources = [ |
"web_ui_url_fetcher.cc", |