Use Starlark version of http_archive

The native http_archive and new_http_archive will be removed in 0.20.0

PiperOrigin-RevId: 223544202
This commit is contained in:
A. Unique TensorFlower 2018-11-30 11:11:23 -08:00 committed by TensorFlower Gardener
parent 5d45c7e715
commit 5b14577d42

View File

@ -1,5 +1,7 @@
workspace(name = "org_tensorflow")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_closure",
sha256 = "a38539c5b5c358548e75b44141b4ab637bba7c4dc02b46b1f62a96d6433f56ae",
@ -57,9 +59,9 @@ android_workspace()
# Please add all new TensorFlow dependencies in workspace.bzl.
tf_workspace()
new_http_archive(
http_archive(
name = "inception_v1",
build_file = "models.BUILD",
build_file = "//:models.BUILD",
sha256 = "7efe12a8363f09bc24d7b7a450304a15655a57a7751929b2c1593a71183bb105",
urls = [
"http://storage.googleapis.com/download.tensorflow.org/models/inception_v1.zip",
@ -67,9 +69,9 @@ new_http_archive(
],
)
new_http_archive(
http_archive(
name = "mobile_ssd",
build_file = "models.BUILD",
build_file = "//:models.BUILD",
sha256 = "bddd81ea5c80a97adfac1c9f770e6f55cbafd7cce4d3bbe15fbeb041e6b8f3e8",
urls = [
"http://storage.googleapis.com/download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip",
@ -77,9 +79,9 @@ new_http_archive(
],
)
new_http_archive(
http_archive(
name = "mobile_multibox",
build_file = "models.BUILD",
build_file = "//:models.BUILD",
sha256 = "859edcddf84dddb974c36c36cfc1f74555148e9c9213dedacf1d6b613ad52b96",
urls = [
"http://storage.googleapis.com/download.tensorflow.org/models/mobile_multibox_v1a.zip",
@ -87,9 +89,9 @@ new_http_archive(
],
)
new_http_archive(
http_archive(
name = "stylize",
build_file = "models.BUILD",
build_file = "//:models.BUILD",
sha256 = "3d374a730aef330424a356a8d4f04d8a54277c425e274ecb7d9c83aa912c6bfa",
urls = [
"http://storage.googleapis.com/download.tensorflow.org/models/stylize_v1.zip",
@ -97,9 +99,9 @@ new_http_archive(
],
)
new_http_archive(
http_archive(
name = "speech_commands",
build_file = "models.BUILD",
build_file = "//:models.BUILD",
sha256 = "c3ec4fea3158eb111f1d932336351edfe8bd515bb6e87aad4f25dbad0a600d0c",
urls = [
"http://storage.googleapis.com/download.tensorflow.org/models/speech_commands_v0.01.zip",