gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/tools/go_marshal/BUILD (about)

     1  load("//tools:defs.bzl", "bzl_library", "go_binary")
     2  
     3  package(default_applicable_licenses = ["//:license"])
     4  
     5  licenses(["notice"])
     6  
     7  go_binary(
     8      name = "go_marshal",
     9      srcs = ["main.go"],
    10      visibility = ["//:sandbox"],
    11      deps = [
    12          "//tools/go_marshal/gomarshal",
    13      ],
    14  )
    15  
    16  config_setting(
    17      name = "marshal_config_verbose",
    18      values = {"define": "gomarshal=verbose"},
    19      visibility = ["//:sandbox"],
    20  )
    21  
    22  bzl_library(
    23      name = "defs_bzl",
    24      srcs = ["defs.bzl"],
    25      visibility = ["//visibility:private"],
    26  )