Index: extensions/browser/api/system_display/BUILD.gn |
diff --git a/extensions/browser/api/system_display/BUILD.gn b/extensions/browser/api/system_display/BUILD.gn |
index 63529d6b84d38aa4bf8c05731a0b8f08edc0e4e8..2f5a5b61d0f119e3ab6beb762e7559d84ff4ae08 100644 |
--- a/extensions/browser/api/system_display/BUILD.gn |
+++ b/extensions/browser/api/system_display/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_display") { |
sources = [ |
"display_info_provider.cc", |