summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
Diffstat (limited to 'rust/rust.go')
-rw-r--r--rust/rust.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go
index 93dbd0010..13169f17e 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -594,6 +594,13 @@ func (mod *Module) CcLibraryInterface() bool {
return false
}
+func (mod *Module) UnstrippedOutputFile() android.Path {
+ if mod.unstrippedOutputFile.Valid() {
+ return mod.unstrippedOutputFile.Path()
+ }
+ return nil
+}
+
func (mod *Module) IncludeDirs() android.Paths {
if mod.compiler != nil {
if library, ok := mod.compiler.(*libraryDecorator); ok {