aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Jake Voytko <jake@reviewninja.com>2015-11-24 20:27:10 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2015-11-25 10:00:24 +0000
commit528a9193396ce90e64a4847f6d7f24033cdd3634 (patch)
tree5c1babc34da2750f295d4db5e5e05870850e4c68 /tools
parent697c61d97730c2291832a67f5a6bb57a3520d037 (diff)
Fixes the closure binary inputs to include externs
The closure compiler was previously not finding externs on Linux, but was on OSX -- Change-Id: Id0830889ba431196fe6f4ce012a97c8069856ceb Reviewed-on: https://bazel-review.googlesource.com/#/c/2381 MOS_MIGRATED_REVID=108637267
Diffstat (limited to 'tools')
-rw-r--r--tools/build_rules/closure/closure_js_binary.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build_rules/closure/closure_js_binary.bzl b/tools/build_rules/closure/closure_js_binary.bzl
index 8e5dba15ba..89af6721d4 100644
--- a/tools/build_rules/closure/closure_js_binary.bzl
+++ b/tools/build_rules/closure/closure_js_binary.bzl
@@ -70,7 +70,7 @@ def _impl(ctx):
(ctx.attr.compilation_level, _COMPILATION_LEVELS.keys()))
ctx.action(
- inputs=list(srcs),
+ inputs=list(srcs) + list(externs),
outputs=[ctx.outputs.out],
arguments=args,
executable=ctx.executable._closure_compiler)