forked from chipsalliance/verible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
75 lines (66 loc) · 2.09 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
"""Tool for comparing Verilog source code.
"""
load("//bazel:sh_test_with_runfiles_lib.bzl", "sh_test_with_runfiles_lib")
load("//bazel:variables.bzl", "STATIC_EXECUTABLES_FEATURE")
package(
default_applicable_licenses = ["//:license"],
default_visibility = ["//visibility:private"],
)
cc_binary(
name = "verible-verilog-diff",
srcs = ["verilog_diff.cc"],
features = STATIC_EXECUTABLES_FEATURE,
visibility = ["//visibility:public"],
deps = [
"//common/strings:obfuscator",
"//common/util:enum-flags",
"//common/util:file-util",
"//common/util:init-command-line",
"//common/util:logging",
"//verilog/analysis:verilog-equivalence",
"@com_google_absl//absl/flags:flag",
"@com_google_absl//absl/strings",
],
)
sh_test_with_runfiles_lib(
name = "diff-user-errors_test",
size = "small",
srcs = ["diff_user_errors_test.sh"],
args = ["$(location :verible-verilog-diff)"],
data = [":verible-verilog-diff"],
)
sh_test_with_runfiles_lib(
name = "diff-format-match_test",
size = "small",
srcs = ["diff_format_match_test.sh"],
args = ["$(location :verible-verilog-diff)"],
data = [":verible-verilog-diff"],
)
sh_test_with_runfiles_lib(
name = "diff-format-mismatch_test",
size = "small",
srcs = ["diff_format_mismatch_test.sh"],
args = ["$(location :verible-verilog-diff)"],
data = [":verible-verilog-diff"],
)
sh_test_with_runfiles_lib(
name = "diff-format-lex-error_test",
size = "small",
srcs = ["diff_format_lex_error_test.sh"],
args = ["$(location :verible-verilog-diff)"],
data = [":verible-verilog-diff"],
)
sh_test_with_runfiles_lib(
name = "diff-obfuscate-match_test",
size = "small",
srcs = ["diff_obfuscate_match_test.sh"],
args = ["$(location :verible-verilog-diff)"],
data = [":verible-verilog-diff"],
)
sh_test_with_runfiles_lib(
name = "diff-obfuscate-mismatch_test",
size = "small",
srcs = ["diff_obfuscate_mismatch_test.sh"],
args = ["$(location :verible-verilog-diff)"],
data = [":verible-verilog-diff"],
)