Files
mongo/modules_poc/BUILD.bazel
Ronald Steinke 16dd38fec5 SERVER-105792 Separate mod_mapping.py (#36829)
GitOrigin-RevId: 2f7b0349208807b3e32e420b643fb097b413318b
2025-06-04 19:58:38 +00:00

40 lines
1.0 KiB
Python

load("@poetry//:dependencies.bzl", "dependency")
py_binary(
name = "mod_scanner",
srcs = [
"__init__.py",
"cindex.py",
"mod_mapping.py",
"mod_scanner.py",
],
data = [
"modules.yaml",
"//.github:CODEOWNERS",
# These are runtime deps, but switched to getting them via the dependency on
# on cc_toolchain.all_files injected by the aspect that is needed in order to get
# access to the toolchain headers. Ideally there would be an all_headers file list
# that we could depend on.
# "@mongo_toolchain//:v4/lib/libLLVM-12.so",
# "@mongo_toolchain//:v4/lib/libclang.so",
],
deps = [
dependency(
"regex",
group = "compile",
),
dependency(
"pyyaml",
group = "core",
),
dependency(
"codeowners",
group = "modules_poc",
),
dependency(
"pyzstd",
group = "modules_poc",
),
],
)