aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xiaofeng@google.com>2016-04-19 10:01:29 -0700
committerGravatar Feng Xiao <xiaofeng@google.com>2016-04-19 10:01:29 -0700
commit83a7a5e8850f9f1f77e2d026c8c873321f085b37 (patch)
tree14816c14e13da5cbf9fdfd65063ceb7039cc95da /BUILD
parent072296f1861867f160520cd119e17b45c4a72619 (diff)
parent5ebeefb94cc9cca45331f56d3a9d5b96a74eb18e (diff)
Merge pull request #1402 from davidzchen/py2and3
Add missing PY2AND3 srcs_versions attributes to Python Bazel build targets
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/BUILD b/BUILD
index 2fbf2f94..2e084c50 100644
--- a/BUILD
+++ b/BUILD
@@ -537,9 +537,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"],
)
@@ -560,6 +560,7 @@ py_library(
"python/google/protobuf/internal/test_util.py",
],
),
+ srcs_version = "PY2AND3",
imports = ["python"],
)
@@ -644,6 +645,7 @@ py_proto_library(
include = "src",
default_runtime = "",
protoc = ":protoc",
+ srcs_version = "PY2AND3",
deps = [":protobuf_python"],
)
@@ -656,6 +658,7 @@ py_proto_library(
include = "python",
default_runtime = ":protobuf_python",
protoc = ":protoc",
+ srcs_version = "PY2AND3",
deps = [":python_common_test_protos"],
)