Commit 343f93fc authored by Jisi Liu's avatar Jisi Liu

Merge pull request #900 from pherl/rename

Rename python and java bazel rules.
parents 96da4edd 166e9bbb
...@@ -457,7 +457,7 @@ genrule( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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",
], ],
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment