summaryrefslogtreecommitdiffstats
path: root/WORKSPACE
diff options
context:
space:
mode:
authorYannic Bonenberger <contact@yannic-bonenberger.com>2019-08-07 17:04:29 +0200
committerYannic Bonenberger <contact@yannic-bonenberger.com>2019-08-07 17:08:10 +0200
commit6fd262ecf787d0dc2a91696fd4bf1d3ee1ebfa14 (patch)
tree6aab2846ea9701eb8136f059881802ebb6a1890a /WORKSPACE
parent6a2adc0eedd8ca47f1808dcd315b17666fb2fbe4 (diff)
downloadgoogletest-6fd262ecf787d0dc2a91696fd4bf1d3ee1ebfa14.tar.gz
googletest-6fd262ecf787d0dc2a91696fd4bf1d3ee1ebfa14.zip
Prepare for Bazel incompatible changes
Fixes googletest for upcoming `--incompatible_load_cc_rules_from_bzl` (https://github.com/bazelbuild/bazel/issues/8743) and `--incompatible_load_python_rules_from_bzl` (https://github.com/bazelbuild/bazel/issues/9006). This change was automatically generated with `buildifier -lint=fix -warnings=all $(find . -name "BUILD" -o -name "BUILD.bazel" -o -name "*.bzl")`.
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE18
1 files changed, 15 insertions, 3 deletions
diff --git a/WORKSPACE b/WORKSPACE
index b69578bc..7eb7219b 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -4,7 +4,19 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Abseil
http_archive(
- name = "com_google_absl",
- urls = ["https://github.com/abseil/abseil-cpp/archive/master.zip"],
- strip_prefix = "abseil-cpp-master",
+ name = "com_google_absl",
+ strip_prefix = "abseil-cpp-master",
+ urls = ["https://github.com/abseil/abseil-cpp/archive/master.zip"],
+)
+
+http_archive(
+ name = "rules_cc",
+ strip_prefix = "rules_cc-master",
+ urls = ["https://github.com/bazelbuild/rules_cc/archive/master.zip"],
+)
+
+http_archive(
+ name = "rules_python",
+ strip_prefix = "rules_python-master",
+ urls = ["https://github.com/bazelbuild/rules_python/archive/master.zip"],
)
OpenPOWER on IntegriCloud