1"""Loads the Flatbuffers library, used by TF Lite."""
2
3load("//third_party:repo.bzl", "third_party_http_archive")
4
5def repo():
6    third_party_http_archive(
7        name = "flatbuffers",
8        strip_prefix = "flatbuffers-1.12.0",
9        sha256 = "62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45",
10        urls = [
11            "https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/flatbuffers/archive/v1.12.0.tar.gz",
12            "https://github.com/google/flatbuffers/archive/v1.12.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    )
21