mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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
This commit is contained in:
committed by
gVisor bot
parent
5f3eeb4728
commit
49d2cf287d
@@ -5,6 +5,8 @@ package(licenses = ["notice"])
|
||||
go_library(
|
||||
name = "linewriter",
|
||||
srcs = ["linewriter.go"],
|
||||
marshal = False,
|
||||
stateify = False,
|
||||
visibility = ["//visibility:public"],
|
||||
deps = ["//pkg/sync"],
|
||||
)
|
||||
|
||||
@@ -10,6 +10,8 @@ go_library(
|
||||
"json_k8s.go",
|
||||
"log.go",
|
||||
],
|
||||
marshal = False,
|
||||
stateify = False,
|
||||
visibility = [
|
||||
"//visibility:public",
|
||||
],
|
||||
|
||||
@@ -47,6 +47,7 @@ go_library(
|
||||
"state.go",
|
||||
"stats.go",
|
||||
],
|
||||
marshal = False,
|
||||
stateify = False,
|
||||
visibility = ["//:sandbox"],
|
||||
deps = [
|
||||
|
||||
@@ -39,6 +39,8 @@ go_library(
|
||||
"seqcount.go",
|
||||
"sync.go",
|
||||
],
|
||||
marshal = False,
|
||||
stateify = False,
|
||||
)
|
||||
|
||||
go_test(
|
||||
|
||||
Reference in New Issue
Block a user