瀏覽代碼

Rename python and java bazel rules.

Jisi Liu 10 年之前
父節點
當前提交
166e9bbb84
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      BUILD

+ 4 - 4
BUILD

@@ -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",
     ],
     ],
 )
 )