Skip to content

Commit

Permalink
Remove usage of soon-to-be-deprecated http_archive rule
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
edbaunton committed Jul 3, 2018
1 parent 8f612eb commit 1b783d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 1b783d9

Please sign in to comment.