summaryrefslogtreecommitdiffhomepage
path: root/tools/nogo/BUILD
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-10-16 11:24:52 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-16 11:26:58 -0700
commitb0da31b9213741aa035a77d602237b4fcd067c98 (patch)
tree3dada791f041f8018244cf9c9aecbf4b36c0b1fd /tools/nogo/BUILD
parentfbfcf8144c1f3deafe13dd3ed6afdb4de0b7c1fd (diff)
Refactor nogo to better support ARM.
PiperOrigin-RevId: 337544107
Diffstat (limited to 'tools/nogo/BUILD')
-rw-r--r--tools/nogo/BUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/nogo/BUILD b/tools/nogo/BUILD
index dd4b46f58..3c6be3339 100644
--- a/tools/nogo/BUILD
+++ b/tools/nogo/BUILD
@@ -1,8 +1,15 @@
-load("//tools:defs.bzl", "bzl_library", "go_library")
-load("//tools/nogo:defs.bzl", "nogo_objdump_tool", "nogo_stdlib")
+load("//tools:defs.bzl", "bzl_library", "go_library", "select_goarch", "select_goos")
+load("//tools/nogo:defs.bzl", "nogo_objdump_tool", "nogo_stdlib", "nogo_target")
package(licenses = ["notice"])
+nogo_target(
+ name = "target",
+ goarch = select_goarch(),
+ goos = select_goos(),
+ visibility = ["//visibility:public"],
+)
+
nogo_objdump_tool(
name = "objdump_tool",
visibility = ["//visibility:public"],