Alias "protobuf_java" to the Java proto runtime,
to match the name in the upstream protobuf project.
@@ -18,6 +18,15 @@ 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-jars", PROTOBUF_VERSION)
proto_alias("protobuf-util", PROTOBUF_VERSION)
