commit | 38f131fd8c294afea9c374ae5afcb8c8d1c9bf23 | [log] [tgz] |
---|---|---|
author | Andrew Harp <andrew.harp@gmail.com> | Tue Nov 03 16:39:32 2015 -0500 |
committer | Andrew Harp <andrew.harp@gmail.com> | Tue Nov 03 16:39:32 2015 -0500 |
tree | 3c9883e47c8589a76579e0424e31e7f90e0ca886 | |
parent | aa3675415ec8da317793a3e151e44daaebc21ff8 [diff] [blame] |
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.
diff --git a/protobuf.bzl b/protobuf.bzl index 9ed7c54..86c6f25 100644 --- a/protobuf.bzl +++ b/protobuf.bzl
@@ -81,6 +81,7 @@ "deps": attr.label_list(providers = ["proto"]), "includes": attr.string_list(), "protoc": attr.label( + cfg = HOST_CFG, executable = True, single_file = True, mandatory = True,