Add missing PY2AND3 srcs_versions attributes to Python Bazel build targets.
diff --git a/BUILD b/BUILD
index 1615486..d31d1ec 100644
--- a/BUILD
+++ b/BUILD
@@ -535,9 +535,9 @@
"java/util/src/main/java/com/google/protobuf/util/*.java",
]),
deps = [
- "protobuf_java",
- "//external:gson",
- "//external:guava",
+ "protobuf_java",
+ "//external:gson",
+ "//external:guava",
],
visibility = ["//visibility:public"],
)
@@ -558,6 +558,7 @@
"python/google/protobuf/internal/test_util.py",
],
),
+ srcs_version = "PY2AND3",
imports = ["python"],
)
@@ -642,6 +643,7 @@
include = "src",
default_runtime = "",
protoc = ":protoc",
+ srcs_version = "PY2AND3",
deps = [":protobuf_python"],
)
@@ -654,6 +656,7 @@
include = "python",
default_runtime = ":protobuf_python",
protoc = ":protoc",
+ srcs_version = "PY2AND3",
deps = [":python_common_test_protos"],
)