Index: extensions/browser/api/diagnostics/BUILD.gn |
diff --git a/extensions/browser/api/diagnostics/BUILD.gn b/extensions/browser/api/diagnostics/BUILD.gn |
index fc49af0f17262e83d4d1dcc575ac97ff01b677cc..a453db1a2dd723a3de75abb302133eebd63d4ab3 100644 |
--- a/extensions/browser/api/diagnostics/BUILD.gn |
+++ b/extensions/browser/api/diagnostics/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.") |
+ |
assert(is_chromeos) |
source_set("diagnostics") { |