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`
pull/138/head
Ed Baunton 7 years ago
parent 8f612ebb15
commit 1b783d9005
  1. 2
      WORKSPACE

@ -1,4 +1,6 @@
workspace(name = "com_google_absl") workspace(name = "com_google_absl")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Bazel toolchains # Bazel toolchains
http_archive( http_archive(
name = "bazel_toolchains", name = "bazel_toolchains",

Loading…
Cancel
Save