2020-01-27 18:04:07 +00:00
|
|
|
load("//tools:defs.bzl", "go_library", "go_test")
|
2018-04-27 17:37:02 +00:00
|
|
|
|
2019-01-31 19:11:44 +00:00
|
|
|
package(licenses = ["notice"])
|
2018-10-23 07:19:11 +00:00
|
|
|
|
2018-04-27 17:37:02 +00:00
|
|
|
go_library(
|
|
|
|
name = "unet",
|
|
|
|
srcs = [
|
|
|
|
"unet.go",
|
|
|
|
"unet_unsafe.go",
|
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/gate",
|
2019-07-30 00:17:58 +00:00
|
|
|
"@org_golang_x_sys//unix:go_default_library",
|
2018-04-27 17:37:02 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "unet_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
|
|
|
"unet_test.go",
|
|
|
|
],
|
2020-01-27 18:04:07 +00:00
|
|
|
library = ":unet",
|
2020-01-10 06:00:42 +00:00
|
|
|
deps = ["//pkg/sync"],
|
2018-04-27 17:37:02 +00:00
|
|
|
)
|