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

Unified Diff: extensions/browser/api/networking_config/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
Index: extensions/browser/api/networking_config/BUILD.gn
diff --git a/extensions/browser/api/networking_config/BUILD.gn b/extensions/browser/api/networking_config/BUILD.gn
index 1dbef8f530ff0ab5aa45de1d32e42463c8ffc2b6..00cb31e9e8029d7255919bfee2d8b39e6ec5f6d8 100644
--- a/extensions/browser/api/networking_config/BUILD.gn
+++ b/extensions/browser/api/networking_config/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.")
+
assert(is_chromeos)
source_set("networking_config") {
« no previous file with comments | « extensions/browser/api/mime_handler_private/BUILD.gn ('k') | extensions/browser/api/networking_private/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698