17 lines
662 B
Python
17 lines
662 B
Python
"""Loads the Flatbuffers library, used by TF Lite."""
|
|
|
|
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
|
|
|
|
def repo():
|
|
tf_http_archive(
|
|
name = "flatbuffers",
|
|
strip_prefix = "flatbuffers-2.0.6",
|
|
sha256 = "e2dc24985a85b278dd06313481a9ca051d048f9474e0f199e372fea3ea4248c9",
|
|
urls = tf_mirror_urls("https://github.com/google/flatbuffers/archive/v2.0.6.tar.gz"),
|
|
build_file = "//third_party/flatbuffers:flatbuffers.BUILD",
|
|
system_build_file = "//third_party/flatbuffers:BUILD.system",
|
|
link_files = {
|
|
"//third_party/flatbuffers:build_defs.bzl": "build_defs.bzl",
|
|
},
|
|
)
|