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

Unified Diff: extensions/browser/install/BUILD.gn

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Rebase 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
« no previous file with comments | « extensions/browser/guest_view/web_view/web_ui/BUILD.gn ('k') | extensions/browser/kiosk/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/install/BUILD.gn
diff --git a/extensions/browser/install/BUILD.gn b/extensions/browser/install/BUILD.gn
index b453a7954c54c79474f027fc4982146e72a14f50..7e5fb095875b1b7b76b98b9c44884a3b1af1ef80 100644
--- a/extensions/browser/install/BUILD.gn
+++ b/extensions/browser/install/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("install") {
sources = [
"crx_install_error.h",
« no previous file with comments | « extensions/browser/guest_view/web_view/web_ui/BUILD.gn ('k') | extensions/browser/kiosk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698