diff options
author | 2023-07-21 14:02:21 -0400 | |
---|---|---|
committer | 2023-07-21 14:02:21 -0400 | |
commit | 5b55c2f366be4feed503fa82dc3e2d76ba0e4d8c (patch) | |
tree | 3a7ba12f4b564d588ba42694a67ab5647c7c987c /rust/image.go | |
parent | e4d58523b64396e13b5ebba4e183f085255b1f67 (diff) |
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
Diffstat (limited to 'rust/image.go')
-rw-r--r-- | rust/image.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/rust/image.go b/rust/image.go index 53fb5c023..c2e250cf0 100644 --- a/rust/image.go +++ b/rust/image.go @@ -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) |