mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
This gets rid of our last workspace dependency. In particular, this change also gets rid of the checked-in extra lock files that took forever to generate.
17 lines
448 B
Python
17 lines
448 B
Python
load("@py_deps//:defs.bzl", "aliases", "all_crate_deps")
|
|
load("//misc/bazel:rust.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,
|
|
) + ["//python/extractor/tsg-python/tsp"],
|
|
)
|