summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/BUILD
diff options
context:
space:
mode:
authorRahat Mahmood <rahat@google.com>2020-05-20 18:33:51 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-20 18:35:32 -0700
commit49d2cf287db08b1f09f1246096cabf9c9a951039 (patch)
treec8643891b383f739f11bf21bc144c268c2a139d7 /pkg/sync/BUILD
parent5f3eeb47286cf9696154f3d9569b655b84ac7d0c (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/sync/BUILD')
-rw-r--r--pkg/sync/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sync/BUILD b/pkg/sync/BUILD
index 0e35d7d17..d0d77e19c 100644
--- a/pkg/sync/BUILD
+++ b/pkg/sync/BUILD
@@ -39,6 +39,8 @@ go_library(
"seqcount.go",
"sync.go",
],
+ marshal = False,
+ stateify = False,
)
go_test(