Commit 38f131fd authored by Andrew Harp's avatar Andrew Harp

Build protoc for host platform to enable cross-compilation.

This is necessary to run protoc on the host as a dependency for Android BUILD targets with Bazel.
parent aa367541
......@@ -81,6 +81,7 @@ _proto_gen = rule(
"deps": attr.label_list(providers = ["proto"]),
"includes": attr.string_list(),
"protoc": attr.label(
cfg = HOST_CFG,
executable = True,
single_file = True,
mandatory = True,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment