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

Unified Diff: extensions/BUILD.gn

Issue 472053004: Extensions: Do not depend on device_serial_mojo target when extensions are turned off. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/extensions.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 011221e8c417e15fa3b1a34ee8144e066f3787b1..c9a0c088672bc225fa5f0bc4dcc6be63d579ca0c 100644
--- a/extensions/BUILD.gn
+++ b/extensions/BUILD.gn
@@ -32,9 +32,11 @@ grit("extensions_renderer_resources") {
"extensions_renderer_resources.pak",
]
grit_flags = [ "-E", "mojom_root=" + rebase_path(root_gen_dir) ]
- deps = [
- "//device/serial:serial_mojo",
- ]
+ if (enable_extensions) {
+ deps = [
+ "//device/serial:serial_mojo",
+ ]
+ }
}
source_set("test_support") {
« no previous file with comments | « no previous file | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698