forked from chipsalliance/verible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
42 lines (38 loc) · 1.31 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
"""This package contains multi-tool for working with SystemVerilog projects.
"""
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"],
features = ["layering_check"],
)
cc_binary(
name = "verible-verilog-project",
srcs = ["project_tool.cc"],
features = STATIC_EXECUTABLES_FEATURE,
visibility = ["//:__subpackages__"],
deps = [
"//common/util:init-command-line",
"//common/util:logging",
"//common/util:status-macros",
"//common/util:subcommand",
"//verilog/analysis:dependencies",
"//verilog/analysis:symbol-table",
"//verilog/analysis:verilog-filelist",
"//verilog/analysis:verilog-project",
"@com_google_absl//absl/flags:flag",
"@com_google_absl//absl/flags:usage",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:string_view",
],
)
sh_test_with_runfiles_lib(
name = "project-tool_test",
size = "small",
srcs = ["project_tool_test.sh"],
args = ["$(location :verible-verilog-project)"],
data = [":verible-verilog-project"],
deps = [],
)