Index: extensions/browser/api/system_cpu/BUILD.gn |
diff --git a/extensions/browser/api/system_cpu/BUILD.gn b/extensions/browser/api/system_cpu/BUILD.gn |
index 6304b44b1f332abfdc488cc3f5bf86aae59e9741..7617d68abb0ff86c5bf20d07f11a3cd9c6576e1d 100644 |
--- a/extensions/browser/api/system_cpu/BUILD.gn |
+++ b/extensions/browser/api/system_cpu/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_cpu") { |
sources = [ |
"cpu_info_provider.cc", |