summaryrefslogtreecommitdiff
path: root/rust/compiler.go
diff options
context:
space:
mode:
author Liz Kammer <eakammer@google.com> 2021-06-25 14:50:12 -0400
committer Liz Kammer <eakammer@google.com> 2021-07-07 16:29:09 -0400
commit187d5445e8cf63ab6d2b66324bc7b3494b3b824c (patch)
tree9604c5b8afe32a9c6f5b1693f58dc2a136bcc1c9 /rust/compiler.go
parentb2fc4700de464ad6d135db7d2f64d0e4e66f8471 (diff)
Remove IsDependencyRoot from interface
This is equivalent to Binary() -- reduce the interface and improve clarity. Test: go test soong tests Change-Id: I770f5ce79fd4d888586d31ec5e67be88153626b6
Diffstat (limited to 'rust/compiler.go')
-rw-r--r--rust/compiler.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/rust/compiler.go b/rust/compiler.go
index 1598ebf9a..0b28135ae 100644
--- a/rust/compiler.go
+++ b/rust/compiler.go
@@ -289,10 +289,6 @@ func (compiler *baseCompiler) CargoOutDir() android.OptionalPath {
return android.OptionalPathForPath(compiler.cargoOutDir)
}
-func (compiler *baseCompiler) isDependencyRoot() bool {
- return false
-}
-
func (compiler *baseCompiler) strippedOutputFilePath() android.OptionalPath {
return compiler.strippedOutputFile
}