aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2016-03-23 14:29:52 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-03-23 14:43:29 +0000
commitc86ed14323fce0b8c87fdbad9c0ea6d9f264c5d3 (patch)
tree92ebfc3717ddf8d82db195fb4d02424a94e6eeb6 /tools
parent8ea1d487d5f89e6edb3cf84b45a1172a6cfe4350 (diff)
Build the jsonnet tool for the host when cross-compiling.
RELNOTES: Build the jsonnet tool for the host when cross-compiling. -- MOS_MIGRATED_REVID=117927673
Diffstat (limited to 'tools')
-rw-r--r--tools/build_defs/jsonnet/jsonnet.bzl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/build_defs/jsonnet/jsonnet.bzl b/tools/build_defs/jsonnet/jsonnet.bzl
index dcb308bf87..23b9a9914d 100644
--- a/tools/build_defs/jsonnet/jsonnet.bzl
+++ b/tools/build_defs/jsonnet/jsonnet.bzl
@@ -193,6 +193,7 @@ _jsonnet_common_attrs = {
"imports": attr.string_list(),
"jsonnet": attr.label(
default = Label("@bazel_tools//tools/build_defs/jsonnet:jsonnet"),
+ cfg = HOST_CFG,
executable = True,
single_file = True),
"std": attr.label(