mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
c2dd6140f4
This speeds up debug builds and fastbuilds by not adding the compression step. PiperOrigin-RevId: 579906206
39 lines
685 B
Python
39 lines
685 B
Python
load("//tools:defs.bzl", "bzl_library", "go_binary")
|
|
load("//tools/go_generics:defs.bzl", "go_template")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
bzl_library(
|
|
name = "defs_bzl",
|
|
srcs = ["defs.bzl"],
|
|
visibility = [
|
|
"//:sandbox",
|
|
],
|
|
)
|
|
|
|
go_template(
|
|
name = "embeddedbinary_template",
|
|
srcs = ["embeddedbinary_template.go"],
|
|
visibility = [
|
|
"//:sandbox",
|
|
],
|
|
)
|
|
|
|
config_setting(
|
|
name = "compilation_mode_opt",
|
|
values = {
|
|
"compilation_mode": "opt",
|
|
},
|
|
)
|
|
|
|
go_binary(
|
|
name = "flatecompress",
|
|
srcs = ["flatecompress.go"],
|
|
visibility = [
|
|
"//:sandbox",
|
|
],
|
|
)
|