diff options
author | Ian Gudger <igudger@google.com> | 2018-10-17 15:09:26 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-10-17 15:10:20 -0700 |
commit | 6922eee6499212a009fdc254224f916bd1c46f29 (patch) | |
tree | f7748528b4d491a0d686f88e9cc2256607135c81 /pkg/sentry/socket/unix/transport/queue/BUILD | |
parent | e4277cb6ff2d1921e9e7f6fac309647e544bbc04 (diff) |
Merge queue into Unix transport
This queue only has a single user, so there is no need for it to use an
interface. Merging it into the same package as its sole user allows us to avoid
a circular dependency.
This simplifies the code and should slightly improve performance.
PiperOrigin-RevId: 217595889
Change-Id: Iabbd5164240b935f79933618c61581bc8dcd2822
Diffstat (limited to 'pkg/sentry/socket/unix/transport/queue/BUILD')
-rw-r--r-- | pkg/sentry/socket/unix/transport/queue/BUILD | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/pkg/sentry/socket/unix/transport/queue/BUILD b/pkg/sentry/socket/unix/transport/queue/BUILD deleted file mode 100644 index d914ecc23..000000000 --- a/pkg/sentry/socket/unix/transport/queue/BUILD +++ /dev/null @@ -1,15 +0,0 @@ -package(licenses = ["notice"]) # Apache 2.0 - -load("//tools/go_stateify:defs.bzl", "go_library") - -go_library( - name = "queue", - srcs = ["queue.go"], - importpath = "gvisor.googlesource.com/gvisor/pkg/sentry/socket/unix/transport/queue", - visibility = ["//:sandbox"], - deps = [ - "//pkg/ilist", - "//pkg/tcpip", - "//pkg/waiter", - ], -) |