Disable flattening only for unbundled apps.
This allows the unbundled master-art branch to still use flattened APEXes in its test builds. Bug: 159109002 Test: art/build/apex/runtests.sh on master-art Test: m nothing Change-Id: I768c6b7f5afbc348cd7730e4ba96507678434778
This commit is contained in:
parent
29abfb7fd1
commit
56507b4e0d
1 changed files with 1 additions and 1 deletions
|
@ -1866,7 +1866,7 @@ func (a *apexBundle) checkStaticLinkingToStubLibraries(ctx android.ModuleContext
|
|||
}
|
||||
|
||||
func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
buildFlattenedAsDefault := ctx.Config().FlattenApex() && !ctx.Config().UnbundledBuild()
|
||||
buildFlattenedAsDefault := ctx.Config().FlattenApex() && !ctx.Config().UnbundledBuildApps()
|
||||
switch a.properties.ApexType {
|
||||
case imageApex:
|
||||
if buildFlattenedAsDefault {
|
||||
|
|
Loading…
Reference in a new issue