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

     1  load("//tools/go_generics/tests:defs.bzl", "go_generics_test")
     2  
     3  go_generics_test(
     4      name = "imports",
     5      consts = {
     6          "n": "math.Uint32",
     7          "m": "math.Uint64",
     8      },
     9      imports = {
    10          "sync": "sync",
    11          "math": "mymathpath",
    12      },
    13      inputs = ["input.go"],
    14      output = "output.go",
    15      types = {
    16          "T": "sync.Mutex",
    17      },
    18  )
    19  
    20  # @unused
    21  glaze_ignore = [
    22      "input.go",
    23      "output.go",
    24  ]