From 6919ab5787e6384d709adf051dc1ce99236b76bc Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Fri, 5 Oct 2018 12:33:55 -0700 Subject: Convert TensorFlow's jpeg dependency to new third party import method. PiperOrigin-RevId: 215948571 --- tensorflow/workspace.bzl | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'tensorflow/workspace.bzl') 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. @@ -246,18 +248,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"), -- cgit v1.2.3