mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
49d2cf287d
These packages don't actually use go_stateify or go_marshal, but end up implicitly dependent on the respective packages due to our build rules. These unnecessary dependencies make them unusuable in certain contexts due to circular dependency. PiperOrigin-RevId: 312595738
33 lines
528 B
Python
33 lines
528 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(licenses = ["notice"])
|
|
|
|
go_library(
|
|
name = "log",
|
|
srcs = [
|
|
"glog.go",
|
|
"json.go",
|
|
"json_k8s.go",
|
|
"log.go",
|
|
],
|
|
marshal = False,
|
|
stateify = False,
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
deps = [
|
|
"//pkg/linewriter",
|
|
"//pkg/sync",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "log_test",
|
|
size = "small",
|
|
srcs = [
|
|
"json_test.go",
|
|
"log_test.go",
|
|
],
|
|
library = ":log",
|
|
)
|