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

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

Change-Id: I994dd16006c857fec39bd44ce355f560f3ba4427
This commit is contained in:
Gurpreet Singh
2022-02-10 16:27:46 +00:00
committed by Automerger Merge Worker

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