aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
authorGravatar Geoffrey Irving <geoffreyi@google.com>2015-12-03 13:11:19 -0800
committerGravatar Geoffrey Irving <geoffreyi@google.com>2015-12-03 13:16:06 -0800
commit29799238c287fcd86941096fcabbae2584d04de2 (patch)
tree08caf215c422683abf0144a453013958e5a3ce22 /BUILD
parentdbc91e979726573960374279653fc8ccc28dcc5f (diff)
Add srcs_version = "PY2AND3" in BUILD files
The sources themselves appear to already be Python 3 clean.
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index 97e3f45b..ee31cd86 100644
--- a/BUILD
+++ b/BUILD
@@ -512,6 +512,7 @@ internal_copied_filegroup(
py_proto_library(
name = "protobuf_python",
srcs = WELL_KNOWN_PROTOS,
+ srcs_version = "PY2AND3",
include = "src",
protoc = ":protoc",
py_extra_srcs = [":python_srcs"],
@@ -555,6 +556,7 @@ py_proto_library(
py_library(
name = "python_tests",
srcs = [":python_test_srcs"],
+ srcs_version = "PY2AND3",
deps = [
":protobuf_python",
":python_common_test_protos",