Index: extensions/browser/api/power/BUILD.gn |
diff --git a/extensions/browser/api/power/BUILD.gn b/extensions/browser/api/power/BUILD.gn |
index ddf2e9fe3d7fe062477f9d886beea938c4ff6903..94d6cdb4edd1c08c977437a1534befa6be08cf2b 100644 |
--- a/extensions/browser/api/power/BUILD.gn |
+++ b/extensions/browser/api/power/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("power") { |
sources = [ |
"power_api.cc", |