Commit 83a7a5e8 authored by Feng Xiao's avatar Feng Xiao

Merge pull request #1402 from davidzchen/py2and3

Add missing PY2AND3 srcs_versions attributes to Python Bazel build targets
parents 072296f1 5ebeefb9
...@@ -560,6 +560,7 @@ py_library( ...@@ -560,6 +560,7 @@ py_library(
"python/google/protobuf/internal/test_util.py", "python/google/protobuf/internal/test_util.py",
], ],
), ),
srcs_version = "PY2AND3",
imports = ["python"], imports = ["python"],
) )
...@@ -644,6 +645,7 @@ py_proto_library( ...@@ -644,6 +645,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"],
) )
...@@ -656,6 +658,7 @@ py_proto_library( ...@@ -656,6 +658,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