diff options
author | Kevin Krakauer <krakauer@google.com> | 2019-10-16 16:27:55 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-16 16:40:30 -0700 |
commit | 2a82d5ad68ded1dde0adae2d2533f3c68f3e2492 (patch) | |
tree | 167183baeea5addd25d5668650f4aaa5648749e8 /pkg/abi | |
parent | 8fe48dcb1ebbdd4d705000ad20077a7dbeec19ab (diff) |
Reorder BUILD license and load functions in gvisor.
PiperOrigin-RevId: 275139066
Diffstat (limited to 'pkg/abi')
-rw-r--r-- | pkg/abi/BUILD | 4 | ||||
-rw-r--r-- | pkg/abi/linux/BUILD | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/pkg/abi/BUILD b/pkg/abi/BUILD index 32c601a03..f5c08ea06 100644 --- a/pkg/abi/BUILD +++ b/pkg/abi/BUILD @@ -1,7 +1,7 @@ -package(licenses = ["notice"]) - load("//tools/go_stateify:defs.bzl", "go_library") +package(licenses = ["notice"]) + go_library( name = "abi", srcs = [ diff --git a/pkg/abi/linux/BUILD b/pkg/abi/linux/BUILD index f45934466..7c17109a6 100644 --- a/pkg/abi/linux/BUILD +++ b/pkg/abi/linux/BUILD @@ -1,13 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_test") +load("//tools/go_stateify:defs.bzl", "go_library") + # Package linux contains the constants and types needed to interface with a # Linux kernel. It should be used instead of syscall or golang.org/x/sys/unix # when the host OS may not be Linux. -load("@io_bazel_rules_go//go:def.bzl", "go_test") - package(licenses = ["notice"]) -load("//tools/go_stateify:defs.bzl", "go_library") - go_library( name = "linux", srcs = [ |