mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
This change registers the profile command under the debug command group in the runsc CLI. This will be followed up with other profiling sub-command implementations. PiperOrigin-RevId: 974750514
41 lines
877 B
Python
41 lines
877 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "maincli",
|
|
srcs = [
|
|
"maincli.go",
|
|
],
|
|
visibility = [
|
|
"//:__pkg__",
|
|
"//runsc:__pkg__",
|
|
],
|
|
deps = [
|
|
"//runsc/cli",
|
|
"//runsc/cmd",
|
|
"//runsc/cmd/alias",
|
|
"//runsc/cmd/nvproxy",
|
|
"//runsc/cmd/profile",
|
|
"//runsc/cmd/sentry/sentrycmd",
|
|
"//runsc/cmd/trace",
|
|
"//runsc/cmd/util",
|
|
"//runsc/gvisorbinaries/embed",
|
|
"@com_github_google_subcommands//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "maincli_test",
|
|
srcs = ["maincli_test.go"],
|
|
library = ":maincli",
|
|
deps = [
|
|
"//runsc/cmd",
|
|
"//runsc/flag",
|
|
"@com_github_google_subcommands//:go_default_library",
|
|
],
|
|
)
|