Merge "Geneate AndroidManifest file if the apex_test module does not have one."

This commit is contained in:
Gurpreet Singh 2022-02-10 15:33:38 +00:00 committed by Gerrit Code Review
commit 7fbe3c7f59

View file

@ -618,6 +618,8 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext) {
implicitInputs = append(implicitInputs, androidManifestFile) implicitInputs = append(implicitInputs, androidManifestFile)
optFlags = append(optFlags, "--android_manifest "+androidManifestFile.String()) optFlags = append(optFlags, "--android_manifest "+androidManifestFile.String())
} else if a.testApex {
optFlags = append(optFlags, "--test_only")
} }
// Determine target/min sdk version from the context // Determine target/min sdk version from the context