Index: extensions/browser/api/idle/BUILD.gn |
diff --git a/extensions/browser/api/idle/BUILD.gn b/extensions/browser/api/idle/BUILD.gn |
index e09d8d1d85a65a44d1b07ea9f78b2a138cda3d8a..23a7e17ea8b10687c3bd6d695cfc968af6fb7a01 100644 |
--- a/extensions/browser/api/idle/BUILD.gn |
+++ b/extensions/browser/api/idle/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("idle") { |
sources = [ |
"idle_api.cc", |