Index: extensions/browser/api/system_storage/BUILD.gn |
diff --git a/extensions/browser/api/system_storage/BUILD.gn b/extensions/browser/api/system_storage/BUILD.gn |
index dd6af6c6c42b6167c7334009a47e21f29001ea07..5711ffae1e86961abe7d819cc48fd0e5239b5c32 100644 |
--- a/extensions/browser/api/system_storage/BUILD.gn |
+++ b/extensions/browser/api/system_storage/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("system_storage") { |
sources = [ |
"storage_info_provider.cc", |