aboutsummaryrefslogtreecommitdiff
path: root/protobuf.bzl
diff options
context:
space:
mode:
authorVladimir Moskva <vladmos@google.com>2017-08-07 13:33:03 +0200
committerVladimir Moskva <vladmos@google.com>2017-08-07 13:33:03 +0200
commit4fc93044a5de018527ec027dbee6a882012e0d9d (patch)
tree893753948bb6e8af4612689f2bdd8e0845c8010c /protobuf.bzl
parentf14703c933d04a4aac285c482bf828269bd0a151 (diff)
downloadprotobuf-4fc93044a5de018527ec027dbee6a882012e0d9d.tar.gz
protobuf-4fc93044a5de018527ec027dbee6a882012e0d9d.tar.bz2
protobuf-4fc93044a5de018527ec027dbee6a882012e0d9d.zip
Make .bzl files compatible with future versions of Bazel
Diffstat (limited to 'protobuf.bzl')
-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,