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

Unified Diff: extensions/browser/api/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 | « chrome/test/BUILD.gn ('k') | extensions/browser/api/activity_log/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/BUILD.gn
diff --git a/extensions/browser/api/BUILD.gn b/extensions/browser/api/BUILD.gn
index 7742a7d10a16bbd0a6c48ca4bad46c40cdad461f..64cac120b05153d8169a84037c58383b07796655 100644
--- a/extensions/browser/api/BUILD.gn
+++ b/extensions/browser/api/BUILD.gn
@@ -3,8 +3,12 @@
# found in the LICENSE file.
import("//extensions/common/api/schema.gni")
+import("//extensions/features/features.gni")
import("//tools/json_schema_compiler/json_schema_api.gni")
+assert(enable_extensions,
+ "Cannot depend on extensions because enable_extensions=false.")
+
source_set("api") {
sources = [
"api_resource.cc",
« no previous file with comments | « chrome/test/BUILD.gn ('k') | extensions/browser/api/activity_log/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698