github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/tools/go_marshal/BUILD (about)

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