Revert "rust: Only allow bindgen to produce rlib
s."
This reverts commit 53a452d1ff
.
Reason for revert: Broken build
Change-Id: I4c1c6f2166c3729ef1916ad7c21e32599c5e692f
This commit is contained in:
@@ -299,15 +299,7 @@ func NewRustBindgen(hod android.HostOrDeviceSupported) (*Module, *bindgenDecorat
|
||||
ClangProperties: cc.RustBindgenClangProperties{},
|
||||
}
|
||||
|
||||
module := NewSourceProviderModule(hod, bindgen, false, true)
|
||||
|
||||
android.AddLoadHook(module, func(ctx android.LoadHookContext) {
|
||||
type stub_props struct {
|
||||
Visibility []string
|
||||
}
|
||||
props := &stub_props{[]string{":__subpackages__"}}
|
||||
ctx.PrependProperties(props)
|
||||
})
|
||||
module := NewSourceProviderModule(hod, bindgen, false)
|
||||
|
||||
return module, bindgen
|
||||
}
|
||||
|
Reference in New Issue
Block a user