2024-09-11 09:17:11 +03:00
|
|
|
load("@tree_sitter_extractors_deps//:defs.bzl", "aliases", "all_crate_deps")
|
2024-08-30 14:05:46 +03:00
|
|
|
load("//misc/bazel:rust.bzl", "codeql_rust_binary")
|
|
|
|
|
|
|
|
codeql_rust_binary(
|
|
|
|
name = "extractor",
|
|
|
|
srcs = glob(["src/**/*.rs"]),
|
|
|
|
aliases = aliases(),
|
|
|
|
proc_macro_deps = all_crate_deps(
|
|
|
|
proc_macro = True,
|
2024-09-12 09:46:50 +03:00
|
|
|
) + [
|
|
|
|
"//rust/extractor/macros",
|
|
|
|
],
|
2024-08-30 14:05:46 +03:00
|
|
|
visibility = ["//rust:__subpackages__"],
|
|
|
|
deps = all_crate_deps(
|
|
|
|
normal = True,
|
2024-08-30 17:08:37 +03:00
|
|
|
) + [
|
2024-09-12 09:46:50 +03:00
|
|
|
"//shared/tree-sitter-extractor",
|
2024-08-30 17:08:37 +03:00
|
|
|
],
|
2024-08-30 14:05:46 +03:00
|
|
|
)
|