Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: extensions/common/api/cast_channel/BUILD.gn

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Assert enable_extensions: common/BUILD.gn and features/BUILD.gn are marked TODO(crbug.com/731689) Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/common/api/cast_channel/BUILD.gn
diff --git a/extensions/common/api/cast_channel/BUILD.gn b/extensions/common/api/cast_channel/BUILD.gn
index e7d76b388dfdfdf044d24154d8f512cff860d5e3..ad10f40e0d05ef2f1250a8e39101c24b2fc70d28 100644
--- a/extensions/common/api/cast_channel/BUILD.gn
+++ b/extensions/common/api/cast_channel/BUILD.gn
@@ -2,8 +2,12 @@
# 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")
import("//third_party/protobuf/proto_library.gni")
+assert(enable_extensions,
+ "Cannot depend on extensions because enable_extensions=false.")
+
proto_library("cast_channel_proto") {
sources = [
"authority_keys.proto",

Powered by Google App Engine
This is Rietveld 408576698