Loading rust/bindgen.go +6 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ var ( func init() { android.RegisterModuleType("rust_bindgen", RustBindgenFactory) android.RegisterModuleType("rust_bindgen_host", RustBindgenHostFactory) } var _ SourceProvider = (*bindgenDecorator)(nil) Loading Loading @@ -152,6 +153,11 @@ func RustBindgenFactory() android.Module { return module.Init() } func RustBindgenHostFactory() android.Module { module, _ := NewRustBindgen(android.HostSupported) return module.Init() } func NewRustBindgen(hod android.HostOrDeviceSupported) (*Module, *bindgenDecorator) { module := newModule(hod, android.MultilibBoth) Loading Loading
rust/bindgen.go +6 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ var ( func init() { android.RegisterModuleType("rust_bindgen", RustBindgenFactory) android.RegisterModuleType("rust_bindgen_host", RustBindgenHostFactory) } var _ SourceProvider = (*bindgenDecorator)(nil) Loading Loading @@ -152,6 +153,11 @@ func RustBindgenFactory() android.Module { return module.Init() } func RustBindgenHostFactory() android.Module { module, _ := NewRustBindgen(android.HostSupported) return module.Init() } func NewRustBindgen(hod android.HostOrDeviceSupported) (*Module, *bindgenDecorator) { module := newModule(hod, android.MultilibBoth) Loading