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/linewriter | |
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/linewriter')
-rw-r--r-- | pkg/linewriter/BUILD | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/linewriter/BUILD b/pkg/linewriter/BUILD index 41bf104d0..f84d03700 100644 --- a/pkg/linewriter/BUILD +++ b/pkg/linewriter/BUILD @@ -5,6 +5,8 @@ package(licenses = ["notice"]) go_library( name = "linewriter", srcs = ["linewriter.go"], + marshal = False, + stateify = False, visibility = ["//visibility:public"], deps = ["//pkg/sync"], ) |