aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/protobuf/BUILD')
-rw-r--r--third_party/protobuf/BUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/third_party/protobuf/BUILD b/third_party/protobuf/BUILD
new file mode 100644
index 0000000000..f6e1ea9fda
--- /dev/null
+++ b/third_party/protobuf/BUILD
@@ -0,0 +1,33 @@
+package(default_visibility = ["//visibility:public"])
+
+licenses(["notice"])
+
+load(":proto_alias.bzl", "proto_alias")
+
+PROTOBUF_VERSION = "3.0.0"
+
+filegroup(
+ name = "srcs",
+ srcs = [
+ "//third_party/protobuf/" + PROTOBUF_VERSION + ":srcs",
+ ] + glob(["**"]), # glob everything to satisfy the compile.sh srcs test
+ visibility = ["//third_party:__pkg__"],
+)
+
+proto_alias("protoc", PROTOBUF_VERSION)
+
+proto_alias("protobuf", PROTOBUF_VERSION)
+
+proto_alias("protobuf-jars", PROTOBUF_VERSION)
+
+proto_alias("protobuf_python_srcs", PROTOBUF_VERSION)
+
+proto_alias("protobuf_python", PROTOBUF_VERSION)
+
+proto_alias("protobuf_lite", PROTOBUF_VERSION)
+
+proto_alias("protobuf_clib", PROTOBUF_VERSION)
+
+proto_alias("protoc_lib", PROTOBUF_VERSION)
+
+proto_alias("java_toolchain", PROTOBUF_VERSION)