From 1b783d9005ff6d53230d0091a9a60a97ef893267 Mon Sep 17 00:00:00 2001 From: Ed Baunton Date: Tue, 3 Jul 2018 19:40:09 -0400 Subject: Remove usage of soon-to-be-deprecated http_archive rule Per https://groups.google.com/d/msg/bazel-discuss/dO2MHQLwJF0/2OXHjMAaAAAJ the native rules for http_archive are to be replaced with their skylark implementations. This commit updates the WORKSPACE to use the skylark definitions. Tested using `bazel build //... --incompatible_remove_native_http_archive --incompatible_remove_native_git_repository` --- WORKSPACE | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WORKSPACE b/WORKSPACE index a7b1c1392908..713ace923195 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -1,4 +1,6 @@ workspace(name = "com_google_absl") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + # Bazel toolchains http_archive( name = "bazel_toolchains", -- cgit 1.4.1