Index: extensions/browser/api/management/BUILD.gn |
diff --git a/extensions/browser/api/management/BUILD.gn b/extensions/browser/api/management/BUILD.gn |
index ce67b39b986778b3cf097b1a997d5694d85907a4..a6dfb86a76b75ae333c424acfe4b6088e8a3ec53 100644 |
--- a/extensions/browser/api/management/BUILD.gn |
+++ b/extensions/browser/api/management/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("management") { |
sources = [ |
"management_api.cc", |