Files
gvisor/pkg/log/BUILD
T
Rahat Mahmood 49d2cf287d Remove implicit dependencies for leaf packages.
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
2020-05-20 18:35:32 -07:00

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",
)