diff options
author | Feng Xiao <xiaofeng@google.com> | 2016-04-19 10:01:29 -0700 |
---|---|---|
committer | Feng Xiao <xiaofeng@google.com> | 2016-04-19 10:01:29 -0700 |
commit | 83a7a5e8850f9f1f77e2d026c8c873321f085b37 (patch) | |
tree | 14816c14e13da5cbf9fdfd65063ceb7039cc95da /BUILD | |
parent | 072296f1861867f160520cd119e17b45c4a72619 (diff) | |
parent | 5ebeefb94cc9cca45331f56d3a9d5b96a74eb18e (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-- | BUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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"], ) |