forked from chipsalliance/verible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
51 lines (46 loc) · 1.62 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
# 'verilog_syntax' is a program for checking Verilog/SystemVerilog syntax.
licenses(["notice"])
load("//bazel:sh_test_with_runfiles_lib.bzl", "sh_test_with_runfiles_lib")
cc_binary(
name = "verible-verilog-syntax",
srcs = ["verilog_syntax.cc"],
visibility = ["//visibility:public"], # for verilog_style_lint.bzl
deps = [
"//common/strings:compare",
"//common/text:concrete_syntax_tree",
"//common/text:parser_verifier",
"//common/text:text_structure",
"//common/text:token_info",
"//common/text:token_info_json",
"//common/util:bijective_map",
"//common/util:enum_flags",
"//common/util:file_util",
"//common/util:init_command_line",
"//common/util:logging",
"//verilog/CST:verilog_tree_json",
"//verilog/CST:verilog_tree_print",
"//verilog/analysis:json_diagnostics",
"//verilog/analysis:verilog_analyzer",
"//verilog/analysis/checkers:verilog_lint_rules",
"//verilog/parser:verilog_parser",
"//verilog/parser:verilog_token",
"//verilog/parser:verilog_token_classifications",
"@com_google_absl//absl/flags:flag",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/types:span",
"@jsonhpp",
],
)
sh_binary(
name = "triage_parser",
srcs = ["triage_parser.sh"],
)
sh_test_with_runfiles_lib(
name = "verilog_syntax_test",
size = "small",
srcs = ["verilog_syntax_test.sh"],
args = ["$(location :verible-verilog-syntax)"],
data = [":verible-verilog-syntax"],
deps = [],
)