1"""Loads the Flatbuffers library, used by TF Lite.""" 2 3load("//third_party:repo.bzl", "tf_http_archive") 4 5def repo(): 6 tf_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 link_files = { 17 "//third_party/flatbuffers:build_defs.bzl": "build_defs.bzl", 18 }, 19 ) 20