aboutsummaryrefslogtreecommitdiff
path: root/protobuf-lite
diff options
context:
space:
mode:
authorSimon Horlick <simonhorlick@gmail.com>2017-06-23 04:06:49 +0800
committerEric Anderson <ejona@google.com>2017-06-22 13:06:49 -0700
commit6d9e149dcb1556d9a9626183b2484cfc24f647b4 (patch)
tree857dd0046f4703e6afa4108d35edd58e86d0c581 /protobuf-lite
parent51ce204f53e235c7fc433f00a6dbb76a4f47b1f3 (diff)
downloadgrpc-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 'protobuf-lite')
-rw-r--r--protobuf-lite/BUILD.bazel16
1 files changed, 16 insertions, 0 deletions
diff --git a/protobuf-lite/BUILD.bazel b/protobuf-lite/BUILD.bazel
new file mode 100644
index 000000000..536396544
--- /dev/null
+++ b/protobuf-lite/BUILD.bazel
@@ -0,0 +1,16 @@
+java_library(
+ name = "protobuf_lite",
+ srcs = glob([
+ "src/main/java/**/*.java",
+ ]),
+ visibility = ["//visibility:public"],
+ deps = [
+ "//core",
+ "//core:internal",
+ "@com_google_api_grpc_google_common_protos//jar",
+ "@com_google_code_findbugs_jsr305//jar",
+ "@com_google_guava//jar",
+ "@com_google_protobuf//:protobuf_java",
+ "@com_google_protobuf//:protobuf_java_util",
+ ],
+)