Remove implicit dependencies of _allowlist_function_transition in third_party

Rules are not required to have an implicit dependencies on the transition allowlist since Bazel knows where the file is.

PiperOrigin-RevId: 693260553
This commit is contained in:
Nevena Kotlaja
2024-11-05 02:04:19 -08:00
committed by gVisor bot
parent bcbb6a01e1
commit 676b9db40f
2 changed files with 1 additions and 7 deletions
-3
View File
@@ -55,8 +55,5 @@ arch_genrule = rule(
doc = "Template for the output files.",
mandatory = True,
),
"_allowlist_function_transition": attr.label(
default = _transition_allowlist,
),
},
)
+1 -4
View File
@@ -1,6 +1,6 @@
"""Nogo rules."""
load("//tools:arch.bzl", "arch_transition", "transition_allowlist")
load("//tools:arch.bzl", "arch_transition")
load("//tools/bazeldefs:go.bzl", "go_context", "go_embed_libraries", "go_importpath", "go_rule")
NogoConfigInfo = provider(
@@ -418,9 +418,6 @@ nogo_test = rule(
default = "//tools/nogo:target",
cfg = arch_transition,
),
"_allowlist_function_transition": attr.label(
default = transition_allowlist,
),
},
test = True,
)