Merge "VNDK snapshot modules must have vndk subdirectory"
This commit is contained in:
@@ -111,12 +111,10 @@ func (p *vndkPrebuiltLibraryDecorator) link(ctx ModuleContext,
|
|||||||
|
|
||||||
func (p *vndkPrebuiltLibraryDecorator) install(ctx ModuleContext, file android.Path) {
|
func (p *vndkPrebuiltLibraryDecorator) install(ctx ModuleContext, file android.Path) {
|
||||||
if p.shared() {
|
if p.shared() {
|
||||||
if ctx.Device() && ctx.useVndk() {
|
if ctx.isVndkSp() {
|
||||||
if ctx.isVndkSp() {
|
p.baseInstaller.subDir = "vndk-sp-" + p.version()
|
||||||
p.baseInstaller.subDir = "vndk-sp-" + p.version()
|
} else if ctx.isVndk() {
|
||||||
} else if ctx.isVndk() {
|
p.baseInstaller.subDir = "vndk-" + p.version()
|
||||||
p.baseInstaller.subDir = "vndk-" + p.version()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
p.baseInstaller.install(ctx, file)
|
p.baseInstaller.install(ctx, file)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user