diff options
author | Rahat Mahmood <rahat@google.com> | 2020-05-20 18:33:51 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-20 18:35:32 -0700 |
commit | 49d2cf287db08b1f09f1246096cabf9c9a951039 (patch) | |
tree | c8643891b383f739f11bf21bc144c268c2a139d7 /pkg/state | |
parent | 5f3eeb47286cf9696154f3d9569b655b84ac7d0c (diff) |
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
Diffstat (limited to 'pkg/state')
-rw-r--r-- | pkg/state/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/state/BUILD b/pkg/state/BUILD index 921af9d63..2b1350135 100644 --- a/pkg/state/BUILD +++ b/pkg/state/BUILD @@ -47,6 +47,7 @@ go_library( "state.go", "stats.go", ], + marshal = False, stateify = False, visibility = ["//:sandbox"], deps = [ |