diff options
author | Yannic Bonenberger <contact@yannic-bonenberger.com> | 2019-08-07 17:04:29 +0200 |
---|---|---|
committer | Yannic Bonenberger <contact@yannic-bonenberger.com> | 2019-08-07 17:08:10 +0200 |
commit | 6fd262ecf787d0dc2a91696fd4bf1d3ee1ebfa14 (patch) | |
tree | 6aab2846ea9701eb8136f059881802ebb6a1890a /WORKSPACE | |
parent | 6a2adc0eedd8ca47f1808dcd315b17666fb2fbe4 (diff) | |
download | googletest-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-- | WORKSPACE | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -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"], ) |