Merge "Fix the construction of host APEX (.zipapex) packages."

This commit is contained in:
Lokesh Gidra
2019-09-11 21:54:41 +00:00
committed by Gerrit Code Review

View File

@@ -1597,7 +1597,7 @@ func (a *apexBundle) androidMkForType(apexType apexPackaging) android.AndroidMkD
fmt.Fprintln(w, "include $(BUILD_PHONY_PACKAGE)")
fmt.Fprintln(w, "$(LOCAL_INSTALLED_MODULE): .KATI_IMPLICIT_OUTPUTS :=", a.flattenedOutput.String())
} else if !a.properties.Flattened {
} else {
// zip-apex is the less common type so have the name refer to the image-apex
// only and use {name}.zip if you want the zip-apex
if apexType == zipApex && a.apexTypes == both {