Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c047138 authored by Roland Levillain's avatar Roland Levillain
Browse files

Fix the construction of host APEX (`.zipapex`) packages.

Test: m com.android.art.host
Bug: 139716748
Change-Id: I3d3783bcb016475ccf658872b4cb31d1a8d7a59e
parent 84bd071c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {