mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Python: Copy Python extractor to codeql repo
This commit is contained in:
16
python/extractor/tsg-python/BUILD.bazel
Normal file
16
python/extractor/tsg-python/BUILD.bazel
Normal file
@@ -0,0 +1,16 @@
|
||||
load("@tsg_python_crate_index//:defs.bzl", "aliases", "all_crate_deps")
|
||||
load("//:common.bzl", "codeql_rust_binary")
|
||||
|
||||
codeql_rust_binary(
|
||||
name = "tsg-python",
|
||||
srcs = ["src/main.rs"],
|
||||
aliases = aliases(),
|
||||
data = ["python.tsg"],
|
||||
proc_macro_deps = all_crate_deps(
|
||||
proc_macro = True,
|
||||
),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = all_crate_deps(
|
||||
normal = True,
|
||||
) + ["//extractor-python/tsg-python/tree-sitter-python"],
|
||||
)
|
||||
Reference in New Issue
Block a user