Internal change.

PiperOrigin-RevId: 488486099
This commit is contained in:
Liam Miller-Cushon
2022-11-14 15:35:21 -08:00
committed by gVisor bot
parent ed35016d99
commit 413330510c
7 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ _packetdrill_test = rule(
attrs = {
"_test_runner": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
allow_files = True,
default = "packetdrill_test.sh",
),
+1 -1
View File
@@ -24,6 +24,6 @@ go_fieldenum = rule(
"srcs": attr.label_list(doc = "input source files", mandatory = True, allow_files = True),
"package": attr.string(doc = "the package for the generated source file", mandatory = True),
"out": attr.output(doc = "output file", mandatory = True),
"_tool": attr.label(executable = True, cfg = "host", default = Label("//tools/go_fieldenum:fieldenum")),
"_tool": attr.label(executable = True, cfg = "exec", default = Label("//tools/go_fieldenum:fieldenum")),
},
)
+2 -2
View File
@@ -51,7 +51,7 @@ go_template = rule(
"opt_types": attr.string_list(doc = "the list of generic types in the template that can but aren't required to be specified"),
"consts": attr.string_list(doc = "the list of constants in the template that are required to be specified"),
"opt_consts": attr.string_list(doc = "the list of constants in the template that can but aren't required to be specified"),
"_tool": attr.label(executable = True, cfg = "host", default = Label("//tools/go_generics/go_merge")),
"_tool": attr.label(executable = True, cfg = "exec", default = Label("//tools/go_generics/go_merge")),
},
)
@@ -124,6 +124,6 @@ go_template_instance = rule(
"anon": attr.bool(doc = "whether anoymous fields should be processed", mandatory = False, default = False),
"package": attr.string(doc = "the package for the generated source file", mandatory = False),
"out": attr.output(doc = "output file", mandatory = True),
"_tool": attr.label(executable = True, cfg = "host", default = Label("//tools/go_generics")),
"_tool": attr.label(executable = True, cfg = "exec", default = Label("//tools/go_generics")),
},
)
+1 -1
View File
@@ -45,7 +45,7 @@ go_marshal = rule(
"imports": attr.string_list(mandatory = False),
"package": attr.string(mandatory = True),
"debug": attr.bool(doc = "enable debugging output from the go_marshal tool"),
"_tool": attr.label(executable = True, cfg = "host", default = Label("//tools/go_marshal:go_marshal")),
"_tool": attr.label(executable = True, cfg = "exec", default = Label("//tools/go_marshal:go_marshal")),
},
outputs = {
"lib": "%{name}_unsafe.go",
+1 -1
View File
@@ -52,7 +52,7 @@ for statified types.
),
"_tool": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
default = Label("//tools/go_stateify:stateify"),
),
"_statepkg": attr.string(default = "gvisor.dev/gvisor/pkg/state"),
+5 -5
View File
@@ -117,7 +117,7 @@ nogo_stdlib = go_rule(
attrs = {
"_nogo": attr.label(
default = "//tools/nogo:nogo",
cfg = "host",
cfg = "exec",
),
"_target": attr.label(
default = "//tools/nogo:target",
@@ -125,7 +125,7 @@ nogo_stdlib = go_rule(
),
"_nogo_full": attr.label(
default = "//tools/nogo:full",
cfg = "host",
cfg = "exec",
),
},
)
@@ -327,7 +327,7 @@ nogo_aspect = go_rule(
attrs = {
"_nogo": attr.label(
default = "//tools/nogo:nogo",
cfg = "host",
cfg = "exec",
),
"_target": attr.label(
default = "//tools/nogo:target",
@@ -413,7 +413,7 @@ nogo_test = rule(
),
"_nogo": attr.label(
default = "//tools/nogo:nogo",
cfg = "host",
cfg = "exec",
),
"_target": attr.label(
default = "//tools/nogo:target",
@@ -495,7 +495,7 @@ nogo_facts = go_rule(
),
"_nogo": attr.label(
default = "//tools/nogo:nogo",
cfg = "host",
cfg = "exec",
),
# See _nogo_aspect, above.
"_nogo_stdlib": attr.label(
+1 -1
View File
@@ -39,7 +39,7 @@ yaml_test = rule(
),
"_tool": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
default = Label("//tools/yamltest:yamltest"),
),
},