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/BUILD23
1 files changed, 10 insertions, 13 deletions
diff --git a/third_party/protobuf/BUILD b/third_party/protobuf/BUILD
index 9fa483deb1..6dae212e45 100644
--- a/third_party/protobuf/BUILD
+++ b/third_party/protobuf/BUILD
@@ -16,29 +16,26 @@ filegroup(
proto_alias("protoc", PROTOBUF_VERSION)
-proto_alias("protobuf", PROTOBUF_VERSION)
-
-# "protobuf" above refers to the Java proto runtime, but upstream,
-# "protobuf" refers to the C++ proto runtime. This alias allows us
-# to switch all Bazel refernces to "protobuf" to the correct "protobuf_java".
-# This alias should be temporary while this transition is done.
-alias(
- name = "protobuf_java",
- actual = "//third_party/protobuf/3.0.0:protobuf"
-)
+proto_alias("protobuf_java", PROTOBUF_VERSION)
proto_alias("protobuf-jars", PROTOBUF_VERSION)
proto_alias("protobuf-util", PROTOBUF_VERSION)
-proto_alias("protobuf_python_srcs", PROTOBUF_VERSION)
+alias(
+ name = "protobuf_java_util",
+ actual = "//third_party/protobuf/3.0.0:protobuf-util"
+)
proto_alias("protobuf_python", PROTOBUF_VERSION)
-proto_alias("protobuf_lite", PROTOBUF_VERSION)
-
proto_alias("protobuf_clib", PROTOBUF_VERSION)
+alias(
+ name = "protobuf",
+ actual = "//third_party/protobuf/3.0.0:protobuf_clib"
+)
+
proto_alias("protoc_lib", PROTOBUF_VERSION)
proto_alias("java_toolchain", PROTOBUF_VERSION)