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

Commit 4973ecff authored by Nan Zhang's avatar Nan Zhang
Browse files

Enable prebuilt jar installation in framework

Test: m -j dokka
Bug: 72394196
Change-Id: Ide09dc2fe64ea5db0d771e16d4b9293638b5d65c
parent 1a1f7f24
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1573,6 +1573,10 @@ func (j *Import) GenerateAndroidBuildActions(ctx android.ModuleContext) {
	})

	j.exportedSdkLibs = android.FirstUniqueStrings(j.exportedSdkLibs)
	if Bool(j.properties.Installable) {
		ctx.InstallFile(android.PathForModuleInstall(ctx, "framework"),
			ctx.ModuleName()+".jar", outputFile)
	}
}

var _ Dependency = (*Import)(nil)