Enable prebuilt jar installation in framework
Test: m -j dokka Bug: 72394196 Change-Id: Ide09dc2fe64ea5db0d771e16d4b9293638b5d65c
This commit is contained in:
parent
1a1f7f24ab
commit
4973ecff89
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue