diff options
Diffstat (limited to 'rust/binary.go')
-rw-r--r-- | rust/binary.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/binary.go b/rust/binary.go index a1cd410c2..9fc52cdb8 100644 --- a/rust/binary.go +++ b/rust/binary.go @@ -106,7 +106,8 @@ func (binary *binaryDecorator) nativeCoverage() bool { func (binary *binaryDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) android.Path { fileName := binary.getStem(ctx) + ctx.toolchain().ExecutableSuffix() - srcPath := srcPathFromModuleSrcs(ctx, binary.baseCompiler.Properties.Srcs) + srcPath, paths := srcPathFromModuleSrcs(ctx, binary.baseCompiler.Properties.Srcs) + deps.SrcDeps = paths outputFile := android.PathForModuleOut(ctx, fileName) binary.unstrippedOutputFile = outputFile |