Rename python and java bazel rules.

This commit is contained in:
Jisi Liu 2015-10-21 10:56:38 -07:00
parent 66e3a6d0b7
commit 166e9bbb84

8
BUILD
View File

@ -457,7 +457,7 @@ genrule(
) )
java_library( java_library(
name = "java_proto", name = "protobuf_java",
srcs = glob([ srcs = glob([
"java/src/main/java/com/google/protobuf/*.java", "java/src/main/java/com/google/protobuf/*.java",
]) + [ ]) + [
@ -503,7 +503,7 @@ internal_copied_filegroup(
) )
py_proto_library( py_proto_library(
name = "python_proto", name = "protobuf_python",
srcs = WELL_KNOWN_PROTOS, srcs = WELL_KNOWN_PROTOS,
include = "src", include = "src",
protoc = ":protoc", protoc = ":protoc",
@ -527,7 +527,7 @@ py_proto_library(
srcs = LITE_TEST_PROTOS + TEST_PROTOS, srcs = LITE_TEST_PROTOS + TEST_PROTOS,
include = "src", include = "src",
protoc = ":protoc", protoc = ":protoc",
deps = [":python_proto"], deps = [":protobuf_python"],
) )
py_proto_library( py_proto_library(
@ -543,7 +543,7 @@ py_library(
srcs = [":python_test_srcs"], srcs = [":python_test_srcs"],
deps = [ deps = [
":python_common_test_protos", ":python_common_test_protos",
":python_proto", ":protobuf_python",
":python_specific_test_protos", ":python_specific_test_protos",
], ],
) )