Merge "Geneate AndroidManifest file if the apex_test module does not have one."
This commit is contained in:
commit
7fbe3c7f59
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue