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

Unified Diff: extensions/BUILD.gn

Issue 672403002: Cleanup: Remove most enable_extensions logic in extensions code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 6 years, 2 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 | « no previous file | extensions/browser/api/api_registration.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/BUILD.gn
diff --git a/extensions/BUILD.gn b/extensions/BUILD.gn
index 1c9602ea57963f06beee3595b61397e911ff527f..b44ac8928ba80222f562a29cd47a0ef1534be2f5 100644
--- a/extensions/BUILD.gn
+++ b/extensions/BUILD.gn
@@ -5,6 +5,8 @@
import("//tools/grit/grit_rule.gni")
import("//tools/grit/repack.gni")
+assert(enable_extensions)
+
# GYP version: extensions/extensions_resources.gyp:extensions_resources
group("extensions_resources") {
deps = [
@@ -48,15 +50,11 @@ grit("extensions_renderer_resources") {
]
grit_flags = [ "-E", "mojom_root=" + rebase_path(root_gen_dir) ]
- # TODO(GYP,cjhopman): GYP has this dependency guarded by enable_extensions==1,
- # but I don't know how that possibly works.
deps = [
"//device/serial:serial_mojo",
]
}
-if (enable_extensions) {
-
source_set("test_support") {
testonly = true
sources = [
@@ -277,5 +275,3 @@ test("extensions_unittests") {
}
}
}
-
-}
« no previous file with comments | « no previous file | extensions/browser/api/api_registration.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698