diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-10-05 12:33:55 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-05 12:40:50 -0700 |
commit | 6919ab5787e6384d709adf051dc1ce99236b76bc (patch) | |
tree | 734f23de7bed8ed76ec4fa47ccf694a515cd2187 /tensorflow/workspace.bzl | |
parent | c5bd63fd520df4ca2f8159eef212289fb8c3ea6c (diff) |
Convert TensorFlow's jpeg dependency to new third party import method.
PiperOrigin-RevId: 215948571
Diffstat (limited to 'tensorflow/workspace.bzl')
-rwxr-xr-x | tensorflow/workspace.bzl | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index 8df41f96b8..b9ced1bd6c 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -22,10 +22,12 @@ load( ) load("//third_party/flatbuffers:workspace.bzl", flatbuffers = "repo") load("//third_party/icu:workspace.bzl", icu = "repo") +load("//third_party/jpeg:workspace.bzl", jpeg = "repo") def initialize_third_party(): flatbuffers() icu() + jpeg() # Sanitize a dependency so that it works correctly from code that includes # TensorFlow as a submodule. @@ -247,18 +249,6 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""): ) tf_http_archive( - name = "jpeg", - build_file = clean_dep("//third_party/jpeg:jpeg.BUILD"), - sha256 = "f892fff427ab3adffc289363eac26d197ce3ccacefe5f5822377348a8166069b", - strip_prefix = "libjpeg-turbo-2.0.0", - system_build_file = clean_dep("//third_party/systemlibs:jpeg.BUILD"), - urls = [ - "https://mirror.bazel.build/github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.0.tar.gz", - "https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.0.tar.gz", - ], - ) - - tf_http_archive( name = "png_archive", build_file = clean_dep("//third_party:png.BUILD"), patch_file = clean_dep("//third_party:png_fix_rpi.patch"), |