bp2build support for framework-res

Change-Id: I5b32a702e02b5f1ec08d5608d766a8a0c08d845c
Bug: 276928228
Bug: 297356405
This commit is contained in:
Romain Jobredeaux
2023-08-21 18:05:29 -04:00
parent c9e585eabf
commit 9c06ef353b
6 changed files with 83 additions and 9 deletions

View File

@@ -442,6 +442,9 @@ func getOtherModuleLabel(ctx BazelConversionPathContext, dep, tag string,
otherLabel := labelFromModule(ctx, m)
// TODO(b/165114590): Convert tag (":name{.tag}") to corresponding Bazel implicit output targets.
if tag != "" && m.Name() == "framework-res" {
otherLabel += tag
}
if samePackage(label, otherLabel) {
otherLabel = bazelShortLabel(otherLabel)