Files
Kevin KrakauerandgVisor bot 3b77e29e3b xdp: split xdp_loader subcommands into cmd directory
This allows other code to use them as deps, which is impossible as a go_binary.

PiperOrigin-RevId: 591054831
2023-12-14 14:38:57 -08:00

21 lines
389 B
Python

load("//tools:defs.bzl", "go_binary")
package(
default_applicable_licenses = ["//:license"],
licenses = ["notice"],
)
go_binary(
name = "xdp_loader",
srcs = [
"main.go",
],
pure = True,
visibility = ["//:sandbox"],
deps = [
"//runsc/flag",
"//tools/xdp/cmd",
"@com_github_google_subcommands//:go_default_library",
],
)