gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/tools/nogo/BUILD (about) 1 load("//tools:defs.bzl", "bzl_library", "go_binary", "select_goarch", "select_goos") 2 load("//tools/nogo:defs.bzl", "nogo_stdlib", "nogo_target") 3 4 package( 5 default_applicable_licenses = ["//:license"], 6 licenses = ["notice"], 7 ) 8 9 nogo_target( 10 name = "target", 11 goarch = select_goarch(), 12 goos = select_goos(), 13 visibility = ["//visibility:public"], 14 ) 15 16 nogo_stdlib( 17 name = "stdlib", 18 visibility = ["//visibility:public"], 19 ) 20 21 go_binary( 22 name = "nogo", 23 srcs = ["main.go"], 24 visibility = ["//visibility:public"], 25 deps = ["//tools/nogo/cli"], 26 ) 27 28 bzl_library( 29 name = "defs_bzl", 30 srcs = ["defs.bzl"], 31 visibility = ["//visibility:private"], 32 )