aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2017-08-07 11:07:39 -0700
committerGitHub <noreply@github.com>2017-08-07 11:07:39 -0700
commit176713d6fbbf72056b009f76e7625f267273bd75 (patch)
tree239c9f8edee0561dcd276ac171cc2e81d38ea3f2
parentc2f69d6fa23a815948368fae0b8c1e56e50715c9 (diff)
parent06a825c170cdb09f96683bb401dce35b7bd4d159 (diff)
downloadprotobuf-176713d6fbbf72056b009f76e7625f267273bd75.tar.gz
protobuf-176713d6fbbf72056b009f76e7625f267273bd75.tar.bz2
protobuf-176713d6fbbf72056b009f76e7625f267273bd75.zip
Merge pull request #3468 from vladmos/3.4.x
Make .bzl files compatible with future versions of Bazel
-rw-r--r--protobuf.bzl6
1 files changed, 3 insertions, 3 deletions
diff --git a/protobuf.bzl b/protobuf.bzl
index 9cb17f01..23380bab 100644
--- a/protobuf.bzl
+++ b/protobuf.bzl
@@ -245,9 +245,9 @@ def cc_proto_library(
)
if default_runtime and not default_runtime in cc_libs:
- cc_libs += [default_runtime]
+ cc_libs = cc_libs + [default_runtime]
if use_grpc_plugin:
- cc_libs += ["//external:grpc_lib"]
+ cc_libs = cc_libs + ["//external:grpc_lib"]
native.cc_library(
name=name,
@@ -371,7 +371,7 @@ def py_proto_library(
)
if default_runtime and not default_runtime in py_libs + deps:
- py_libs += [default_runtime]
+ py_libs = py_libs + [default_runtime]
native.py_library(
name=name,