Do not install VNDK lib in favor of VNDK APEX
Since VNDK APEX replaces VNDK lib /system/lib/vndk{-sp}, VNDK libs are not installed. Bug: 141451661 Test: m && boot device Change-Id: I14686927a56ded5176839c89f29a2fd7e0fca658
This commit is contained in:
@@ -93,6 +93,11 @@ func (c *Module) AndroidMk() android.AndroidMkData {
|
|||||||
fmt.Fprintln(w, "LOCAL_USE_VNDK := true")
|
fmt.Fprintln(w, "LOCAL_USE_VNDK := true")
|
||||||
if c.IsVndk() && !c.static() {
|
if c.IsVndk() && !c.static() {
|
||||||
fmt.Fprintln(w, "LOCAL_SOONG_VNDK_VERSION := "+c.vndkVersion())
|
fmt.Fprintln(w, "LOCAL_SOONG_VNDK_VERSION := "+c.vndkVersion())
|
||||||
|
// VNDK libraries available to vendor are not installed because
|
||||||
|
// they are packaged in VNDK APEX and installed by APEX packages (apex/apex.go)
|
||||||
|
if !c.isVndkExt() {
|
||||||
|
fmt.Fprintln(w, "LOCAL_UNINSTALLABLE_MODULE := true")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user