Merge pull request #1402 from davidzchen/py2and3

Add missing PY2AND3 srcs_versions attributes to Python Bazel build targets
pull/1433/head
Feng Xiao 9 years ago
commit 83a7a5e885
  1. 9
      BUILD

@ -537,9 +537,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"],
) )
@ -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(
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(
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"],
) )

Loading…
Cancel
Save