summaryrefslogtreecommitdiff
path: root/rust/binary.go
diff options
context:
space:
mode:
author Christopher Parsons <cparsons@google.com> 2023-09-20 17:56:24 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-09-20 17:56:24 +0000
commitc331812a59f04a3e79bd300f436aeb6473098ebc (patch)
treebcc84743431fa0db68bcf0365652bed0203c08e1 /rust/binary.go
parent6c1121d31bf162553bcfde6e4b2e2e34cd970e03 (diff)
parent637458d3265e3f08cc42dcde3536d8775a2009b9 (diff)
Merge "Have ConvertWBp2build use Bp2buildMutatorContext" into main
Diffstat (limited to 'rust/binary.go')
-rw-r--r--rust/binary.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/rust/binary.go b/rust/binary.go
index 1e24bebab..1408ff17b 100644
--- a/rust/binary.go
+++ b/rust/binary.go
@@ -15,9 +15,10 @@
package rust
import (
+ "fmt"
+
"android/soong/android"
"android/soong/bazel"
- "fmt"
)
func init() {
@@ -199,7 +200,7 @@ type rustBinaryLibraryAttributes struct {
Rustc_flags bazel.StringListAttribute
}
-func binaryBp2build(ctx android.TopDownMutatorContext, m *Module) {
+func binaryBp2build(ctx android.Bp2buildMutatorContext, m *Module) {
binary := m.compiler.(*binaryDecorator)
var srcs bazel.LabelList