gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/tools/embeddedbinary/BUILD (about) 1 load("//tools:defs.bzl", "bzl_library", "go_binary") 2 load("//tools/go_generics:defs.bzl", "go_template") 3 4 package( 5 default_applicable_licenses = ["//:license"], 6 licenses = ["notice"], 7 ) 8 9 bzl_library( 10 name = "defs_bzl", 11 srcs = ["defs.bzl"], 12 visibility = [ 13 "//:sandbox", 14 ], 15 ) 16 17 go_template( 18 name = "embeddedbinary_template", 19 srcs = ["embeddedbinary_template.go"], 20 visibility = [ 21 "//:sandbox", 22 ], 23 ) 24 25 config_setting( 26 name = "compilation_mode_opt", 27 values = { 28 "compilation_mode": "opt", 29 }, 30 ) 31 32 go_binary( 33 name = "flatecompress", 34 srcs = ["flatecompress.go"], 35 visibility = [ 36 "//:sandbox", 37 ], 38 )