aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Ed Baunton <edbaunton@gmail.com>2018-07-03 19:40:09 -0400
committerGravatar Ed Baunton <edbaunton@gmail.com>2018-07-03 19:40:09 -0400
commit1b783d9005ff6d53230d0091a9a60a97ef893267 (patch)
treeafa75a32ed6ae5a4bd2a77cd61b29a9bea1e8c52
parent8f612ebb152fb7e05643a2bcf78cb89a8c0641ad (diff)
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`
-rw-r--r--WORKSPACE2
1 files changed, 2 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index a7b1c13..713ace9 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",