diff options
author | Simon Horlick <simonhorlick@gmail.com> | 2017-06-23 04:06:49 +0800 |
---|---|---|
committer | Eric Anderson <ejona@google.com> | 2017-06-22 13:06:49 -0700 |
commit | 6d9e149dcb1556d9a9626183b2484cfc24f647b4 (patch) | |
tree | 857dd0046f4703e6afa4108d35edd58e86d0c581 /compiler | |
parent | 51ce204f53e235c7fc433f00a6dbb76a4f47b1f3 (diff) | |
download | grpc-grpc-java-6d9e149dcb1556d9a9626183b2484cfc24f647b4.tar.gz |
build: Add Bazel java_grpc_library rule
Bazel third party dependencies are specified in repositories.bzl which
gives the consumer the ability to opt-out of any dependencies they use
directly in their own project.
Fixes #2756
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/BUILD.bazel | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/compiler/BUILD.bazel b/compiler/BUILD.bazel new file mode 100644 index 000000000..1a2f2f382 --- /dev/null +++ b/compiler/BUILD.bazel @@ -0,0 +1,12 @@ +cc_binary( + name = "grpc_java_plugin", + srcs = [ + "src/java_plugin/cpp/java_generator.cpp", + "src/java_plugin/cpp/java_generator.h", + "src/java_plugin/cpp/java_plugin.cpp", + ], + visibility = ["//visibility:public"], + deps = [ + "@com_google_protobuf//:protoc_lib", + ], +) |