From 2a82d5ad68ded1dde0adae2d2533f3c68f3e2492 Mon Sep 17 00:00:00 2001 From: Kevin Krakauer Date: Wed, 16 Oct 2019 16:27:55 -0700 Subject: Reorder BUILD license and load functions in gvisor. PiperOrigin-RevId: 275139066 --- pkg/segment/BUILD | 4 ++-- pkg/segment/test/BUILD | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'pkg/segment') diff --git a/pkg/segment/BUILD b/pkg/segment/BUILD index 700385907..1b487b887 100644 --- a/pkg/segment/BUILD +++ b/pkg/segment/BUILD @@ -1,10 +1,10 @@ +load("//tools/go_generics:defs.bzl", "go_template") + package( default_visibility = ["//:sandbox"], licenses = ["notice"], ) -load("//tools/go_generics:defs.bzl", "go_template") - go_template( name = "generic_range", srcs = ["range.go"], diff --git a/pkg/segment/test/BUILD b/pkg/segment/test/BUILD index 12d7c77d2..a27c35e21 100644 --- a/pkg/segment/test/BUILD +++ b/pkg/segment/test/BUILD @@ -1,13 +1,12 @@ load("//tools/go_stateify:defs.bzl", "go_library") load("@io_bazel_rules_go//go:def.bzl", "go_test") +load("//tools/go_generics:defs.bzl", "go_template_instance") package( default_visibility = ["//visibility:private"], licenses = ["notice"], ) -load("//tools/go_generics:defs.bzl", "go_template_instance") - go_template_instance( name = "int_range", out = "int_range.go", -- cgit v1.2.3