github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/third_party/flatbuffers/workspace.bzl (about)

     1  """Loads the Flatbuffers library, used by TF Lite."""
     2  
     3  load("//third_party:repo.bzl", "third_party_http_archive")
     4  
     5  def repo():
     6      third_party_http_archive(
     7          name = "flatbuffers",
     8          strip_prefix = "flatbuffers-1.11.0",
     9          sha256 = "3f4a286642094f45b1b77228656fbd7ea123964f19502f9ecfd29933fd23a50b",
    10          urls = [
    11              "https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/flatbuffers/archive/v1.11.0.tar.gz",
    12              "https://github.com/google/flatbuffers/archive/v1.11.0.tar.gz",
    13          ],
    14          build_file = "//third_party/flatbuffers:BUILD.bazel",
    15          system_build_file = "//third_party/flatbuffers:BUILD.system",
    16          delete = ["build_defs.bzl"],
    17          link_files = {
    18              "//third_party/flatbuffers:build_defs.bzl": "build_defs.bzl",
    19          },
    20      )