mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
df7bff6288
* Bazel: 0.24.0 -> 0.27.0 * Update rules_haskell for Bazel 0.27 compatibility * Update bazel-deps and bazel-watcher * Windows escape JVM flags * load commands at top of .bzl file Bazel 0.27 no longer allows load commands that are not at the beginning of the file. * Update Bazel rules * subpackage boundary * native is not defined in BUILD files * yarn: @bazel/hide-bazel-files Seems to be required since latest rules_nodejs version. Otherwise, yarn fails with errors about existing BUILD or BUILD.bazel files. * grpc-java plugin visibility * Update fat_cc_library * Nix Python3 toolchain * Iteration over depset * dev_env_package: Create symlinks one level deeper To prevent symlinking the BUILD file as well. The nested BUILD file confuses Bazel as of 0.27 and rules_nodejs cannot find the node executable anymore. * Update rules_nodejs * Add managed_directories for node_modules * hie-bios: Extract bazel-genfiles from bazel info Bazel 0.27 changed the genfiles location which breaks the hie-core test on macOS. * update cc_wrapper to Bazel 0.27 * bazel info -> bazel info bazel-genfiles * Fix typo in BUILD Co-Authored-By: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
17 lines
587 B
Diff
17 lines
587 B
Diff
grpc-java now only exposes the protoc plugin indirectly through a toolchain.
|
|
However, the current implementation of //bazel_tools.proto.bzl proto_gen
|
|
assumes direct access to the protoc plugin label.
|
|
https://github.com/grpc/grpc-java/commit/745aa0a2f570d74e7d7fe0c72334c24e21b8ab17
|
|
diff --git a/compiler/BUILD.bazel b/compiler/BUILD.bazel
|
|
index ef940741d..e50ecb66c 100644
|
|
--- a/compiler/BUILD.bazel
|
|
+++ b/compiler/BUILD.bazel
|
|
@@ -10,6 +10,7 @@ cc_binary(
|
|
deps = [
|
|
"@com_google_protobuf//:protoc_lib",
|
|
],
|
|
+ visibility = ["//visibility:public"],
|
|
)
|
|
|
|
java_library(
|