Delete some api_bp2build dead code.

Follow up of https://android-review.googlesource.com/2630914

Bug: 284029211
Test: presubmits
Change-Id: Idc0ff2f20e54b81cfdf61472a72e9cb027f60554
This commit is contained in:
Jingwen Chen
2023-10-05 10:23:58 +00:00
parent f2fd12d97c
commit 863e33471a
4 changed files with 3 additions and 74 deletions

View File

@@ -161,18 +161,3 @@ func libraryHeadersBp2Build(ctx android.Bp2buildMutatorContext, module *Module)
Tags: tags,
}, attrs)
}
// Append .contribution suffix to input labels
func apiBazelTargets(ll bazel.LabelList) bazel.LabelList {
labels := make([]bazel.Label, 0)
for _, l := range ll.Includes {
labels = append(labels, bazel.Label{
Label: android.ApiContributionTargetName(l.Label),
})
}
return bazel.MakeLabelList(labels)
}
var (
allArches = []string{"arm", "arm64", "x86", "x86_64"}
)