Index: extensions/browser/api/declarative/BUILD.gn |
diff --git a/extensions/browser/api/declarative/BUILD.gn b/extensions/browser/api/declarative/BUILD.gn |
index d9f517307db530df384347225f253ca1d8b678e9..3b1b5f018639bfc00b184583f3765fed56d3a55e 100644 |
--- a/extensions/browser/api/declarative/BUILD.gn |
+++ b/extensions/browser/api/declarative/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") { |
sources = [ |
"declarative_api.cc", |