Radix/third_party/non_module_deps.bzl

21 lines
664 B
Python
Raw Normal View History

load("//third_party/com_github_hejsil_clap:repo.bzl", com_github_hejsil_clap = "repo")
load("//third_party/com_google_sentencepiece:repo.bzl", com_google_sentencepiece = "repo")
load("//third_party/mnist:repo.bzl", mnist = "repo")
load("//third_party/org_swig_swig:repo.bzl", org_swig_swig = "repo")
def _non_module_deps_impl(mctx):
com_google_sentencepiece()
org_swig_swig()
com_github_hejsil_clap()
mnist()
return mctx.extension_metadata(
reproducible = True,
root_module_direct_deps = "all",
root_module_direct_dev_deps = [],
)
non_module_deps = module_extension(
implementation = _non_module_deps_impl,
)