summaryrefslogtreecommitdiffhomepage
path: root/pkg/bitmap/BUILD
diff options
context:
space:
mode:
authorHoward Zhang <howard.zhang@arm.com>2021-06-17 01:59:42 +0000
committerHoward Zhang <howard.zhang@arm.com>2021-07-13 14:16:07 +0800
commit79b7fb3348a317f5bd6a109d84f810a7fe84b8bc (patch)
treed6afbd4ac15dc3ed82305b7e100f37d763e47617 /pkg/bitmap/BUILD
parent5b2afd24a7ed6d626ede2d06d04378f95c3b62f8 (diff)
add bitmap
provides the implementation of bitmap. Signed-off-by: Howard Zhang <howard.zhang@arm.com>
Diffstat (limited to 'pkg/bitmap/BUILD')
-rw-r--r--pkg/bitmap/BUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkg/bitmap/BUILD b/pkg/bitmap/BUILD
new file mode 100644
index 000000000..1af60002a
--- /dev/null
+++ b/pkg/bitmap/BUILD
@@ -0,0 +1,18 @@
+load("//tools:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "bitmap",
+ srcs = ["bitmap.go"],
+ visibility = ["//:sandbox"],
+ deps = ["@org_golang_x_sys//unix:go_default_library"],
+)
+
+go_test(
+ name = "bitmap_test",
+ size = "small",
+ srcs = ["bitmap_test.go"],
+ library = ":bitmap",
+ deps = ["@org_golang_x_sys//unix:go_default_library"],
+)