forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
57 lines (49 loc) · 1.07 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
load("@rules_pkg//pkg:mappings.bzl", "pkg_filegroup", "pkg_files")
load("//misc/bazel:pkg.bzl", "codeql_pack", "codeql_pkg_files")
package(default_visibility = ["//visibility:public"])
alias(
name = "dbscheme",
actual = "//python/ql/lib:dbscheme",
)
alias(
name = "dbscheme-stats",
actual = "//python/ql/lib:dbscheme-stats",
)
pkg_files(
name = "dbscheme-group",
srcs = [
":dbscheme",
":dbscheme-stats",
],
strip_prefix = None,
)
pkg_filegroup(
name = "db-files",
srcs = [
":dbscheme-group",
"//python/downgrades",
],
)
pkg_files(
name = "codeql-extractor-yml",
srcs = ["codeql-extractor.yml"],
strip_prefix = None,
)
codeql_pkg_files(
name = "extractor-arch",
exes = [
"//python/extractor/tsg-python",
],
prefix = "tools/{CODEQL_PLATFORM}",
)
codeql_pack(
name = "python",
srcs = [
":codeql-extractor-yml",
":dbscheme-group",
":extractor-arch",
"//python/downgrades",
"//python/extractor",
"//python/tools",
],
)