diff options
author | 2024-12-12 16:52:17 +0000 | |
---|---|---|
committer | 2024-12-12 17:12:24 +0000 | |
commit | a6e92bd34e752a79b7ec1a78158de9dd5dd5c577 (patch) | |
tree | 06aab6bf67710b13679181b55b087d272825df8f | |
parent | f7bbd2fe40e43f7fda7e08d08eeb9c2a93552ad9 (diff) |
rust: Allow rust sysprop libraries to be installed.
These libraries should be installable, otherwise the dylib won't
be installed to the device leading to runtime linker errors.
Bug: 380116147
Test: m <library w/ sysprop_library dep>; ls $OUT/system/lib64
Change-Id: Ieeff24d9c2f3bfa79e5f63c89e780b394716257d
-rw-r--r-- | sysprop/sysprop_library.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysprop/sysprop_library.go b/sysprop/sysprop_library.go index 84f20c555..77d5853ac 100644 --- a/sysprop/sysprop_library.go +++ b/sysprop/sysprop_library.go @@ -680,7 +680,7 @@ func syspropLibraryHook(ctx android.LoadHookContext, m *syspropLibrary) { Sysprop_srcs: m.properties.Srcs, Scope: scope, Check_api: proptools.StringPtr(ctx.ModuleName()), - Installable: proptools.BoolPtr(false), + Installable: m.properties.Installable, Crate_name: m.rustCrateName(), Rustlibs: []string{ "liblog_rust", |