Index: extensions/browser/api/usb/BUILD.gn |
diff --git a/extensions/browser/api/usb/BUILD.gn b/extensions/browser/api/usb/BUILD.gn |
index 9bafec2cccf5238630dd893e2df345dff06a19bb..1f90d0542749c2f68e60bde50f102a6c0e4b4a54 100644 |
--- a/extensions/browser/api/usb/BUILD.gn |
+++ b/extensions/browser/api/usb/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("usb") { |
sources = [ |
"usb_api.cc", |