Merge "Geneate AndroidManifest file if the apex_test module does not have one." am: 7fbe3c7f59 am: 82371b5ac2 am: 4971051525

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1971344

Change-Id: I260611433e85f4c9dad86e8dd85c1f4ef56b0b97
This commit is contained in:
Gurpreet Singh 2022-02-10 16:12:35 +00:00 committed by Automerger Merge Worker
commit 1fb15d2702

View file

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