summaryrefslogtreecommitdiffhomepage
path: root/tools/go_generics
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-08-06 12:08:12 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-06 12:10:49 -0700
commit90021e775a6e8059ea4f4262a16c4f962d3b9732 (patch)
tree836255772e78b9b2a623eecd336f19b2a5297319 /tools/go_generics
parentb918d97850075cc353abf7b590b4e807e2984ab0 (diff)
Add bzl_library rules for .bzl files without one.
PiperOrigin-RevId: 325280924
Diffstat (limited to 'tools/go_generics')
-rw-r--r--tools/go_generics/BUILD8
-rw-r--r--tools/go_generics/tests/BUILD7
2 files changed, 14 insertions, 1 deletions
diff --git a/tools/go_generics/BUILD b/tools/go_generics/BUILD
index 558826bf1..807c08ead 100644
--- a/tools/go_generics/BUILD
+++ b/tools/go_generics/BUILD
@@ -1,4 +1,4 @@
-load("//tools:defs.bzl", "go_binary")
+load("//tools:defs.bzl", "bzl_library", "go_binary")
package(licenses = ["notice"])
@@ -12,3 +12,9 @@ go_binary(
visibility = ["//:sandbox"],
deps = ["//tools/go_generics/globals"],
)
+
+bzl_library(
+ name = "defs_bzl",
+ srcs = ["defs.bzl"],
+ visibility = ["//visibility:private"],
+)
diff --git a/tools/go_generics/tests/BUILD b/tools/go_generics/tests/BUILD
index e69de29bb..7547a6b53 100644
--- a/tools/go_generics/tests/BUILD
+++ b/tools/go_generics/tests/BUILD
@@ -0,0 +1,7 @@
+load("//tools:defs.bzl", "bzl_library")
+
+bzl_library(
+ name = "defs_bzl",
+ srcs = ["defs.bzl"],
+ visibility = ["//visibility:private"],
+)