Exposes generated manifest artifact (this is the resulting artifact after the merge step) to Skylark.
MOS_MIGRATED_REVID=147417110
@@ -81,6 +81,16 @@ public class AndroidSkylarkApiProvider extends SkylarkApiProvider {
return getIdeInfoProvider().getManifest();
}
+ @SkylarkCallable(
+ name = "merged_manifest",
+ structField = true,
+ allowReturnNones = true,
+ doc = "Returns a manifest file for this target after all processing, e.g.: merging, etc."
+ )
+ public Artifact getMergedManifest() {
+ return getIdeInfoProvider().getGeneratedManifest();
+ }
+
@SkylarkCallable(
name = "apks_under_test",
structField = true,
