chromium/third_party/tflite_support/src/tensorflow_lite_support/metadata/cc/python/BUILD

load("@org_tensorflow//tensorflow:tensorflow.bzl", "pybind_extension")

package(
    default_visibility = ["//tensorflow_lite_support:internal"],
    licenses = ["notice"],  # Apache 2.0
)

pybind_extension(
    name = "_pywrap_metadata_version",
    srcs = [
        "metadata_version.cc",
    ],
    enable_stub_generation = True,
    features = ["-use_header_modules"],
    module_name = "_pywrap_metadata_version",
    pytype_srcs = [
        "_pywrap_metadata_version.pyi",
    ],
    deps = [
        "//tensorflow_lite_support/metadata/cc:metadata_version",
        "@org_tensorflow//tensorflow/lite/c:common",
        "@pybind11",
    ],
)