Commit 5ebeefb9 authored by David Z. Chen's avatar David Z. Chen

Add missing PY2AND3 srcs_versions attributes to Python Bazel build targets.

parent 667f4a62
...@@ -535,9 +535,9 @@ java_library( ...@@ -535,9 +535,9 @@ java_library(
"java/util/src/main/java/com/google/protobuf/util/*.java", "java/util/src/main/java/com/google/protobuf/util/*.java",
]), ]),
deps = [ deps = [
"protobuf_java", "protobuf_java",
"//external:gson", "//external:gson",
"//external:guava", "//external:guava",
], ],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
) )
...@@ -558,6 +558,7 @@ py_library( ...@@ -558,6 +558,7 @@ py_library(
"python/google/protobuf/internal/test_util.py", "python/google/protobuf/internal/test_util.py",
], ],
), ),
srcs_version = "PY2AND3",
imports = ["python"], imports = ["python"],
) )
...@@ -642,6 +643,7 @@ py_proto_library( ...@@ -642,6 +643,7 @@ py_proto_library(
include = "src", include = "src",
default_runtime = "", default_runtime = "",
protoc = ":protoc", protoc = ":protoc",
srcs_version = "PY2AND3",
deps = [":protobuf_python"], deps = [":protobuf_python"],
) )
...@@ -654,6 +656,7 @@ py_proto_library( ...@@ -654,6 +656,7 @@ py_proto_library(
include = "python", include = "python",
default_runtime = ":protobuf_python", default_runtime = ":protobuf_python",
protoc = ":protoc", protoc = ":protoc",
srcs_version = "PY2AND3",
deps = [":python_common_test_protos"], deps = [":python_common_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