From 6fd262ecf787d0dc2a91696fd4bf1d3ee1ebfa14 Mon Sep 17 00:00:00 2001 From: Yannic Bonenberger Date: Wed, 7 Aug 2019 17:04:29 +0200 Subject: 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")`. --- WORKSPACE | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'WORKSPACE') 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"], ) -- cgit v1.2.3