forked from chipsalliance/verible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
30 lines (26 loc) · 838 Bytes
/
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
"""Tool for preprocessing Verilog
"""
licenses(["notice"])
load("//bazel:sh_test_with_runfiles_lib.bzl", "sh_test_with_runfiles_lib")
cc_binary(
name = "verible-verilog-preprocessor",
srcs = ["verilog_preprocessor.cc"],
visibility = ["//visibility:public"],
deps = [
"//common/util:file_util",
"//common/util:init_command_line",
"//common/util:subcommand",
"//verilog/transform:strip_comments",
"@com_google_absl//absl/flags:usage",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
],
)
sh_test_with_runfiles_lib(
name = "verilog_preprocessor_test",
size = "small",
srcs = ["verilog_preprocessor_test.sh"],
args = ["$(location :verible-verilog-preprocessor)"],
data = [":verible-verilog-preprocessor"],
deps = [],
)