Add missing progress messages for AAR Import actions
This is in line with other Aar Import actions like `AarEmbeddedJarsExtractor` which have progress messages with label name set.
Closes
@@ -360,6 +360,7 @@ public class AarImport implements RuleConfiguredTargetFactory {
.setExecutable(
ruleContext.getExecutablePrerequisite(AarImportBaseRule.AAR_RESOURCES_EXTRACTOR))
.setMnemonic("AarResourcesExtractor")
+ .setProgressMessage("Extracting AAR Resources for %{label}")
.addInput(aar)
.addOutput(resourcesDir)
.addOutput(assetsDir)
@@ -406,7 +407,7 @@ public class AarImport implements RuleConfiguredTargetFactory {
return builder
.setExecutable(singleJar)
.setMnemonic("AarJarsMerger")
- .setProgressMessage("Merging AAR embedded jars")
+ .setProgressMessage("Merging AAR embedded jars for %{label}")
.addInput(jarsTreeArtifact)
.addOutput(mergedJar)
.addInput(paramFile)
@@ -429,7 +430,7 @@ public class AarImport implements RuleConfiguredTargetFactory {
ruleContext.getExecutablePrerequisite(
AarImportBaseRule.AAR_NATIVE_LIBS_ZIP_CREATOR))
.setMnemonic("AarNativeLibsFilter")
- .setProgressMessage("Filtering AAR native libs by architecture")
+ .setProgressMessage("Filtering AAR native libs by architecture for %{label}")
.addInput(aar)
.addOutput(outputZip)
.addCommandLine(
@@ -479,5 +480,4 @@ public class AarImport implements RuleConfiguredTargetFactory {
PathFragment rootRelativePath = ruleContext.getUniqueDirectory("_aar/unzipped/" + name);
return ruleContext.getTreeArtifact(rootRelativePath, ruleContext.getBinOrGenfilesDirectory());
}
-
}
