diff options
Diffstat (limited to 'rust/rust.go')
-rw-r--r-- | rust/rust.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go index b3e543ee9..3cc786878 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -1019,6 +1019,13 @@ func (mod *Module) begin(ctx BaseModuleContext) { } } +func (mod *Module) Prebuilt() *android.Prebuilt { + if p, ok := mod.compiler.(*prebuiltLibraryDecorator); ok { + return p.prebuilt() + } + return nil +} + func (mod *Module) depsToPaths(ctx android.ModuleContext) PathDeps { var depPaths PathDeps |