rust: Add dylib variants for bindgen modules.
Provide dylib variants for bindgen modules. This avoids issues where bindgen modules being rlib-only results in a dependency tree containing the same crate with two different linkages. Bug: 294698705 Test: Example with binder and fmq crates builds. Change-Id: Ia72f573db3c232c97276038e4315134d90033e10
This commit is contained in:
@@ -364,7 +364,7 @@ func NewRustBindgen(hod android.HostOrDeviceSupported) (*Module, *bindgenDecorat
|
||||
ClangProperties: cc.RustBindgenClangProperties{},
|
||||
}
|
||||
|
||||
module := NewSourceProviderModule(hod, bindgen, false, true)
|
||||
module := NewSourceProviderModule(hod, bindgen, false, false)
|
||||
|
||||
android.AddLoadHook(module, func(ctx android.LoadHookContext) {
|
||||
type stub_props struct {
|
||||
|
Reference in New Issue
Block a user