Remove Device VNDK version usage from Soong
As of VNDK deprecation, Device VNDK version should no longer be used from build. This change removes all references on Device VNDK version and related logic with it. Bug: 330100430 Test: AOSP CF build succeeded Change-Id: Ibc290f0b41e8321f80c75c69f810223989af68dc
This commit is contained in:
4
cc/cc.go
4
cc/cc.go
@@ -1854,7 +1854,6 @@ func (c *Module) DataPaths() []android.DataPath {
|
||||
func getNameSuffixWithVndkVersion(ctx android.ModuleContext, c LinkableInterface) string {
|
||||
// Returns the name suffix for product and vendor variants. If the VNDK version is not
|
||||
// "current", it will append the VNDK version to the name suffix.
|
||||
var vndkVersion string
|
||||
var nameSuffix string
|
||||
if c.InProduct() {
|
||||
if c.ProductSpecific() {
|
||||
@@ -1864,10 +1863,9 @@ func getNameSuffixWithVndkVersion(ctx android.ModuleContext, c LinkableInterface
|
||||
}
|
||||
return ProductSuffix
|
||||
} else {
|
||||
vndkVersion = ctx.DeviceConfig().VndkVersion()
|
||||
nameSuffix = VendorSuffix
|
||||
}
|
||||
if c.VndkVersion() != vndkVersion && c.VndkVersion() != "" {
|
||||
if c.VndkVersion() != "" {
|
||||
// add version suffix only if the module is using different vndk version than the
|
||||
// version in product or vendor partition.
|
||||
nameSuffix += "." + c.VndkVersion()
|
||||
|
Reference in New Issue
Block a user