rust: Enable Product support for dylibs.
There is no longer a reason to restrict dylibs on product, make them available. Bug: 204303985 Test: m Change-Id: I315d22307f64d02633940f30ae600c63f16f0e7a
This commit is contained in:
parent
e4d58523b6
commit
5b55c2f366
1 changed files with 0 additions and 5 deletions
|
@ -229,11 +229,6 @@ func (mod *Module) ImageMutatorBegin(mctx android.BaseModuleContext) {
|
|||
mctx.PropertyErrorf("vendor_ramdisk_available", "cannot be set for rust_ffi or rust_ffi_shared modules.")
|
||||
}
|
||||
}
|
||||
if mctx.ProductSpecific() {
|
||||
if lib, ok := mod.compiler.(libraryInterface); ok && lib.buildDylib() {
|
||||
mctx.PropertyErrorf("product", "Product-only dylibs are not yet supported, use rust_library_rlib.")
|
||||
}
|
||||
}
|
||||
|
||||
cc.MutateImage(mctx, mod)
|
||||
|
||||
|
|
Loading…
Reference in a new issue