Support Rust in Product
Bug: 178565008 Bug: 165791368 Test: Build and link a Rust library into a product binary Change-Id: I9c5aa5f3a1f323af9aa2aee804635045f1b91bd4
This commit is contained in:
@@ -25,7 +25,7 @@ import (
|
||||
|
||||
var (
|
||||
nativeBridgeSuffix = ".native_bridge"
|
||||
productSuffix = ".product"
|
||||
ProductSuffix = ".product"
|
||||
VendorSuffix = ".vendor"
|
||||
ramdiskSuffix = ".ramdisk"
|
||||
VendorRamdiskSuffix = ".vendor_ramdisk"
|
||||
|
2
cc/cc.go
2
cc/cc.go
@@ -1632,7 +1632,7 @@ func (c *Module) getNameSuffixWithVndkVersion(ctx android.ModuleContext) string
|
||||
return ""
|
||||
}
|
||||
vndkVersion = ctx.DeviceConfig().ProductVndkVersion()
|
||||
nameSuffix = productSuffix
|
||||
nameSuffix = ProductSuffix
|
||||
} else {
|
||||
vndkVersion = ctx.DeviceConfig().VndkVersion()
|
||||
nameSuffix = VendorSuffix
|
||||
|
Reference in New Issue
Block a user