From 5ebeefb94cc9cca45331f56d3a9d5b96a74eb18e Mon Sep 17 00:00:00 2001 From: "David Z. Chen" Date: Fri, 8 Apr 2016 13:30:13 -0700 Subject: Add missing PY2AND3 srcs_versions attributes to Python Bazel build targets. --- BUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'BUILD') diff --git a/BUILD b/BUILD index 1615486f..d31d1ec1 100644 --- a/BUILD +++ b/BUILD @@ -535,9 +535,9 @@ java_library( "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 @@ py_library( "python/google/protobuf/internal/test_util.py", ], ), + srcs_version = "PY2AND3", imports = ["python"], ) @@ -642,6 +643,7 @@ py_proto_library( include = "src", default_runtime = "", protoc = ":protoc", + srcs_version = "PY2AND3", deps = [":protobuf_python"], ) @@ -654,6 +656,7 @@ py_proto_library( include = "python", default_runtime = ":protobuf_python", protoc = ":protoc", + srcs_version = "PY2AND3", deps = [":python_common_test_protos"], ) -- cgit v1.2.3