summaryrefslogtreecommitdiffstats
path: root/extensions/BUILD.gn
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-16 07:56:39 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-16 07:57:51 +0000
commitc4844325d770084cf1ad2632f934dec2e5dda97f (patch)
treef4febb6b08dbcd7d010e07e163806c086c024a65 /extensions/BUILD.gn
parentbcfefe84639304b4c28398b4941fbd9384c4ec11 (diff)
downloadchromium_src-c4844325d770084cf1ad2632f934dec2e5dda97f.zip
chromium_src-c4844325d770084cf1ad2632f934dec2e5dda97f.tar.gz
chromium_src-c4844325d770084cf1ad2632f934dec2e5dda97f.tar.bz2
Extensions: Do not depend on device_serial_mojo target when extensions are turned off.
BUG=334407 Review URL: https://codereview.chromium.org/472053004 Cr-Commit-Position: refs/heads/master@{#290121} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/BUILD.gn')
-rw-r--r--extensions/BUILD.gn8
1 files changed, 5 insertions, 3 deletions
diff --git a/extensions/BUILD.gn b/extensions/BUILD.gn
index 5cb0f48..e48f6d3 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") {