Loading rust/rust.go +10 −0 Original line number Diff line number Diff line Loading @@ -1756,6 +1756,16 @@ func (mod *Module) HostToolPath() android.OptionalPath { var _ android.ApexModule = (*Module)(nil) // If a module is marked for exclusion from apexes, don't provide apex variants. // TODO(b/362509506): remove this once stubs are properly supported by rust_ffi targets. func (m *Module) CanHaveApexVariants() bool { if m.ApexExclude() { return false } else { return m.ApexModuleBase.CanHaveApexVariants() } } func (mod *Module) MinSdkVersion() string { return String(mod.Properties.Min_sdk_version) } Loading Loading
rust/rust.go +10 −0 Original line number Diff line number Diff line Loading @@ -1756,6 +1756,16 @@ func (mod *Module) HostToolPath() android.OptionalPath { var _ android.ApexModule = (*Module)(nil) // If a module is marked for exclusion from apexes, don't provide apex variants. // TODO(b/362509506): remove this once stubs are properly supported by rust_ffi targets. func (m *Module) CanHaveApexVariants() bool { if m.ApexExclude() { return false } else { return m.ApexModuleBase.CanHaveApexVariants() } } func (mod *Module) MinSdkVersion() string { return String(mod.Properties.Min_sdk_version) } Loading