Index: extensions/browser/api/system_info/BUILD.gn |
diff --git a/extensions/browser/api/system_info/BUILD.gn b/extensions/browser/api/system_info/BUILD.gn |
index fc6bf7d72057bf2692ce1c95d30f91080ccb4422..0cc1ea42adb925d493395d53781004efb788608c 100644 |
--- a/extensions/browser/api/system_info/BUILD.gn |
+++ b/extensions/browser/api/system_info/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_info") { |
sources = [ |
"system_info_api.cc", |