Bazel upgrade 0.8.0-rc4
Change-Id: I59c228ce2a7fe62d95b64e8b6bde0b8fc07f8641
diff --git a/aos/build/queues.bzl b/aos/build/queues.bzl
index 8696bac..9dd23bd 100644
--- a/aos/build/queues.bzl
+++ b/aos/build/queues.bzl
@@ -52,7 +52,7 @@
def _q_deps_impl(ctx):
transitive_q_files = ctx.files.srcs
for dep in ctx.attr.deps:
- transitive_q_files += dep.transitive_q_files
+ transitive_q_files = transitive_q_files + dep.transitive_q_files
return struct(transitive_q_files = transitive_q_files)
_q_deps = rule(
diff --git a/third_party/protobuf/protobuf.bzl b/third_party/protobuf/protobuf.bzl
index cfcb69a..29fdad6 100644
--- a/third_party/protobuf/protobuf.bzl
+++ b/third_party/protobuf/protobuf.bzl
@@ -171,7 +171,7 @@
)
if default_runtime and not default_runtime in cc_libs:
- cc_libs += [default_runtime]
+ cc_libs = cc_libs + [default_runtime]
native.cc_library(
name=name,
@@ -269,8 +269,8 @@
outs=[internal_copied_filegroup_name]
if default_runtime and not default_runtime in py_libs + deps:
- py_libs += [default_runtime]
- py_libs += ['@python_import_helpers//:google_protobuf_importer']
+ py_libs = py_libs + [default_runtime]
+ py_libs = py_libs + ['@python_import_helpers//:google_protobuf_importer']
native.py_library(
name=name,
diff --git a/tools/bazel b/tools/bazel
index d08bd00..8a442e5 100755
--- a/tools/bazel
+++ b/tools/bazel
@@ -24,7 +24,7 @@
exec "${BAZEL_OVERRIDE}" "$@"
fi
-readonly VERSION="0.7.0-971"
+readonly VERSION="201711232100+e0fe5d9"
readonly DOWNLOAD_DIR="$(dirname "${BASH_SOURCE[0]}")/../bazel-downloads"
# Directory to unpack bazel into. This must change whenever bazel changes.