forked from chipsalliance/verible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
55 lines (50 loc) · 1.54 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
load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
licenses(["notice"])
py_library(
name = "verible_verilog_syntax_py",
srcs = ["verible_verilog_syntax.py"],
data = ["//verilog/tools/syntax:verible-verilog-syntax"],
imports = ["."],
srcs_version = "PY3",
deps = [
"//third_party/py/dataclasses",
"@python_anytree//:anytree",
],
)
py_test(
name = "verible_verilog_syntax_py_test",
size = "small",
srcs = ["verible_verilog_syntax_test.py"],
args = ["$(location //verilog/tools/syntax:verible-verilog-syntax)"],
data = ["//verilog/tools/syntax:verible-verilog-syntax"],
main = "verible_verilog_syntax_test.py",
python_version = "PY3",
srcs_version = "PY3",
deps = [":verible_verilog_syntax_py"],
)
py_binary(
name = "print_modules",
srcs = ["print_modules.py"],
args = ["$(location //verilog/tools/syntax:verible-verilog-syntax)"],
data = ["//verilog/tools/syntax:verible-verilog-syntax"],
main = "print_modules.py",
python_version = "PY3",
srcs_version = "PY3",
deps = [
":verible_verilog_syntax_py",
"@python_anytree//:anytree",
],
)
py_binary(
name = "print_tree",
srcs = ["print_tree.py"],
args = ["$(location //verilog/tools/syntax:verible-verilog-syntax)"],
data = ["//verilog/tools/syntax:verible-verilog-syntax"],
main = "print_tree.py",
python_version = "PY3",
srcs_version = "PY3",
deps = [
":verible_verilog_syntax_py",
"@python_anytree//:anytree",
],
)