-
Notifications
You must be signed in to change notification settings - Fork 792
/
BUILD
87 lines (76 loc) · 1.92 KB
/
BUILD
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Copyright lowRISC contributors (OpenTitan project).
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
load("@rules_python//python:defs.bzl", "py_binary")
load("@ot_python_deps//:requirements.bzl", "all_requirements", "requirement")
package(default_visibility = ["//visibility:public"])
exports_files(glob(["**"]))
py_binary(
name = "otbn_build",
srcs = ["otbn_build.py"],
imports = ["../hw/ip/otbn/util/"],
deps = [
requirement("pyelftools"),
"//hw/ip/otbn/util:otbn_as",
"//hw/ip/otbn/util:otbn_ld",
],
)
py_binary(
name = "rom_chip_info",
srcs = ["rom_chip_info.py"],
)
py_test(
name = "rom_chip_info_test",
srcs = [
"rom_chip_info.py",
"rom_chip_info_test.py",
],
)
py_binary(
name = "regtool",
srcs = ["regtool.py"],
deps = [
"//util/reggen:countermeasure",
"//util/reggen:gen_cheader",
"//util/reggen:gen_dv",
"//util/reggen:gen_fpv",
"//util/reggen:gen_html",
"//util/reggen:gen_json",
"//util/reggen:gen_rtl",
"//util/reggen:gen_rust",
"//util/reggen:gen_sec_cm_testplan",
"//util/reggen:gen_selfdoc",
"//util/reggen:gen_tock",
"//util/reggen:ip_block",
"//util/reggen:version",
requirement("tabulate"),
],
)
py_test(
name = "generate_compilation_db_test",
srcs = [
"generate_compilation_db.py",
"generate_compilation_db_test.py",
],
)
py_binary(
name = "run_manual_tests",
srcs = [
"run_manual_tests.py",
],
deps = [
requirement("typer"),
requirement("hjson"),
requirement("rich"),
requirement("pluralizer"),
],
)
py_binary(
name = "fusesoc_build",
srcs = ["fusesoc_build.py"],
deps = all_requirements,
)
py_library(
name = "version_file",
srcs = ["version_file.py"],
)