Index: extensions/browser/api/declarative_content/BUILD.gn |
diff --git a/extensions/browser/api/declarative_content/BUILD.gn b/extensions/browser/api/declarative_content/BUILD.gn |
index 7f2c7952a7376f2886ee9b5cdd9403000671047c..0ffbfbd1b7cbb152075121fe6b05181f834266b5 100644 |
--- a/extensions/browser/api/declarative_content/BUILD.gn |
+++ b/extensions/browser/api/declarative_content/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("declarative_content") { |
sources = [ |
"content_rules_registry.h", |