Index: extensions/browser/api/system_memory/BUILD.gn |
diff --git a/extensions/browser/api/system_memory/BUILD.gn b/extensions/browser/api/system_memory/BUILD.gn |
index 30a8dee5012b0a0388b6e43387058a1b58326b4a..2c98c127626f1266cb46c4e19b1d0cb666d73bcb 100644 |
--- a/extensions/browser/api/system_memory/BUILD.gn |
+++ b/extensions/browser/api/system_memory/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_memory") { |
sources = [ |
"memory_info_provider.cc", |