gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/segment/BUILD (about)

     1  load("//tools/go_generics:defs.bzl", "go_template")
     2  
     3  package(
     4      default_applicable_licenses = ["//:license"],
     5      default_visibility = ["//:sandbox"],
     6      licenses = ["notice"],
     7  )
     8  
     9  go_template(
    10      name = "generic_range",
    11      srcs = ["range.go"],
    12      types = [
    13          "T",
    14      ],
    15  )
    16  
    17  go_template(
    18      name = "generic_set",
    19      srcs = [
    20          "set.go",
    21          "set_state.go",
    22      ],
    23      opt_consts = [
    24          "minDegree",
    25          # trackGaps must either be 0 or 1.
    26          "trackGaps",
    27      ],
    28      types = [
    29          "Key",
    30          "Range",
    31          "Value",
    32          "Functions",
    33      ],
    34  )