mediapipe/third_party/flatbuffers/workspace.bzl

20 lines
728 B
Python
Raw Normal View History

"""Loads the Flatbuffers library, used by TF Lite."""
load("//third_party:repo.bzl", "third_party_http_archive")
def repo():
third_party_http_archive(
name = "flatbuffers",
strip_prefix = "flatbuffers-23.5.26",
sha256 = "1cce06b17cddd896b6d73cc047e36a254fb8df4d7ea18a46acf16c4c0cd3f3f3",
urls = [
"https://github.com/google/flatbuffers/archive/v23.5.26.tar.gz",
"https://github.com/google/flatbuffers/archive/v23.5.26.tar.gz",
],
build_file = "//third_party/flatbuffers:BUILD.bazel",
delete = ["build_defs.bzl", "BUILD.bazel"],
link_files = {
"//third_party/flatbuffers:build_defs.bzl": "build_defs.bzl",
},
)