Index: extensions/browser/api/clipboard/BUILD.gn |
diff --git a/extensions/browser/api/clipboard/BUILD.gn b/extensions/browser/api/clipboard/BUILD.gn |
index e3b1850d594334a4c7afdc4152c69493a3b15ab7..c79bb34a6477cf51bab802506f57712cc3e8e0b4 100644 |
--- a/extensions/browser/api/clipboard/BUILD.gn |
+++ b/extensions/browser/api/clipboard/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("clipboard") { |
sources = [ |
"clipboard_api.cc", |