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`
This commit is contained in:
parent
8f612ebb15
commit
1b783d9005
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue