Index: extensions/browser/api/web_request/BUILD.gn |
diff --git a/extensions/browser/api/web_request/BUILD.gn b/extensions/browser/api/web_request/BUILD.gn |
index a8798e8ff3becdb6876785b46bb3bb90a2d54b53..42951a386ebe42961d17568bea77133035623e6f 100644 |
--- a/extensions/browser/api/web_request/BUILD.gn |
+++ b/extensions/browser/api/web_request/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_request") { |
sources = [ |
"form_data_parser.cc", |