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 /third_party/gvsync | |
parent | 8fe48dcb1ebbdd4d705000ad20077a7dbeec19ab (diff) |
Reorder BUILD license and load functions in gvisor.
PiperOrigin-RevId: 275139066
Diffstat (limited to 'third_party/gvsync')
-rw-r--r-- | third_party/gvsync/BUILD | 3 | ||||
-rw-r--r-- | third_party/gvsync/atomicptrtest/BUILD | 3 | ||||
-rw-r--r-- | third_party/gvsync/seqatomictest/BUILD | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/third_party/gvsync/BUILD b/third_party/gvsync/BUILD index 8dab51daa..7d6d59c48 100644 --- a/third_party/gvsync/BUILD +++ b/third_party/gvsync/BUILD @@ -1,4 +1,5 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") +load("//tools/go_generics:defs.bzl", "go_template") package( default_visibility = ["//:sandbox"], @@ -7,8 +8,6 @@ package( exports_files(["LICENSE"]) -load("//tools/go_generics:defs.bzl", "go_template") - go_template( name = "generic_atomicptr", srcs = ["atomicptr_unsafe.go"], diff --git a/third_party/gvsync/atomicptrtest/BUILD b/third_party/gvsync/atomicptrtest/BUILD index 6cf69ea91..447ecf96a 100644 --- a/third_party/gvsync/atomicptrtest/BUILD +++ b/third_party/gvsync/atomicptrtest/BUILD @@ -1,9 +1,8 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") +load("//tools/go_generics:defs.bzl", "go_template_instance") package(licenses = ["notice"]) -load("//tools/go_generics:defs.bzl", "go_template_instance") - go_template_instance( name = "atomicptr_int", out = "atomicptr_int_unsafe.go", diff --git a/third_party/gvsync/seqatomictest/BUILD b/third_party/gvsync/seqatomictest/BUILD index 9e87e0bc5..c858c20c4 100644 --- a/third_party/gvsync/seqatomictest/BUILD +++ b/third_party/gvsync/seqatomictest/BUILD @@ -1,9 +1,8 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") +load("//tools/go_generics:defs.bzl", "go_template_instance") package(licenses = ["notice"]) -load("//tools/go_generics:defs.bzl", "go_template_instance") - go_template_instance( name = "seqatomic_int", out = "seqatomic_int_unsafe.go", |