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

Unified Diff: extensions/browser/guest_view/app_view/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/browser/guest_view/app_view/BUILD.gn
diff --git a/extensions/browser/guest_view/app_view/BUILD.gn b/extensions/browser/guest_view/app_view/BUILD.gn
index 97d00d603bce47141d3a0195bcab5f83dba5cc11..b46208fc666670161e0f781c002845f83552a05a 100644
--- a/extensions/browser/guest_view/app_view/BUILD.gn
+++ b/extensions/browser/guest_view/app_view/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("app_view") {
sources = [
"app_view_constants.cc",

Powered by Google App Engine
This is Rietveld 408576698