summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2021-07-23 20:28:02 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-07-23 20:28:02 +0000
commit40fa08bfa71a919fc7ee8a3f961017017cf71572 (patch)
tree839c57f47d6deea5c2eded34532a019af9e6a951 /rust/rust.go
parent02fa0c36e417aaf45eaa3f9fc2c92651f3cbc0e6 (diff)
parent74be76449611bb316effb55b9e7984ed8aabbbff (diff)
Merge "Add a phony target for all Rust targets"
Diffstat (limited to 'rust/rust.go')
-rw-r--r--rust/rust.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go
index 931cb9dde..80be49638 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -861,6 +861,8 @@ func (mod *Module) GenerateAndroidBuildActions(actx android.ModuleContext) {
if mod.installable(apexInfo) {
mod.compiler.install(ctx)
}
+
+ ctx.Phony("rust", ctx.RustModule().OutputFile().Path())
}
}