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

Unified Diff: extensions/components/javascript_dialog_extensions_client/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/common/BUILD.gn ('k') | extensions/components/native_app_window/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/components/javascript_dialog_extensions_client/BUILD.gn
diff --git a/extensions/components/javascript_dialog_extensions_client/BUILD.gn b/extensions/components/javascript_dialog_extensions_client/BUILD.gn
index 7e05ed7eee53192786c540ce7ee8940be4f06acc..c55ddfef4770fe9469c10b6de36c1e25455e9462 100644
--- a/extensions/components/javascript_dialog_extensions_client/BUILD.gn
+++ b/extensions/components/javascript_dialog_extensions_client/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.")
+
static_library("javascript_dialog_extensions_client") {
sources = [
"javascript_dialog_extension_client_impl.cc",
« no previous file with comments | « extensions/common/BUILD.gn ('k') | extensions/components/native_app_window/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698