summaryrefslogtreecommitdiffhomepage
path: root/pkg/amutex/BUILD
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-09-15 15:12:50 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-15 15:14:53 -0700
commit456c6c33e104e7421a5a815bba69d46b289ae724 (patch)
tree801c2a838dc9ce9069589581765fd5f4f736d938 /pkg/amutex/BUILD
parenta004f0d082458ce98114b59a3e5d41c2e74541d6 (diff)
Invert dependency between the context and amutex packages.
This is to allow the syserror package to depend on the context package in a future change. PiperOrigin-RevId: 331866252
Diffstat (limited to 'pkg/amutex/BUILD')
-rw-r--r--pkg/amutex/BUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/amutex/BUILD b/pkg/amutex/BUILD
index ffc918846..bd3a5cce9 100644
--- a/pkg/amutex/BUILD
+++ b/pkg/amutex/BUILD
@@ -6,7 +6,10 @@ go_library(
name = "amutex",
srcs = ["amutex.go"],
visibility = ["//:sandbox"],
- deps = ["//pkg/syserror"],
+ deps = [
+ "//pkg/context",
+ "//pkg/syserror",
+ ],
)
go_test(