mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
This allows for runsc to be able to use DriverVersion without having to depend on the entirety of nvproxy. PiperOrigin-RevId: 733912696
25 lines
527 B
Python
25 lines
527 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "drivers",
|
|
srcs = ["install_driver.go"],
|
|
visibility = ["//:sandbox"],
|
|
deps = [
|
|
"//pkg/log",
|
|
"//pkg/sentry/devices/nvproxy",
|
|
"//pkg/sentry/devices/nvproxy/nvconf",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "drivers_test",
|
|
srcs = ["install_driver_test.go"],
|
|
library = ":drivers",
|
|
deps = ["//pkg/sentry/devices/nvproxy/nvconf"],
|
|
)
|