Index: extensions/browser/api/cast_channel/BUILD.gn |
diff --git a/extensions/browser/api/cast_channel/BUILD.gn b/extensions/browser/api/cast_channel/BUILD.gn |
index 2f0f9d18e9fad99f42aa073ae5ffc2bfd36abadd..5b4b5208497ed9a9005029b72d02b6ddc7c6002e 100644 |
--- a/extensions/browser/api/cast_channel/BUILD.gn |
+++ b/extensions/browser/api/cast_channel/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("cast_channel") { |
sources = [ |
"cast_channel_api.cc", |