summaryrefslogtreecommitdiff
path: root/rust/binary.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-01-29 16:30:40 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-01-29 16:30:40 -0800
commit3288fda8dbf9b936bb85765f6d4989c2b4abd997 (patch)
tree79eda35a7e54243cf37502dc6b835d3ae4097833 /rust/binary.go
parent54825428e454f6e1219dcbbbb8f4b09d76410026 (diff)
parent58eef4f7de976345ce33c94cfc45440634158448 (diff)
Merge "Convert rust module-info.json to soong" into main
Diffstat (limited to 'rust/binary.go')
-rw-r--r--rust/binary.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/binary.go b/rust/binary.go
index d22041b27..3c7a48274 100644
--- a/rust/binary.go
+++ b/rust/binary.go
@@ -183,3 +183,8 @@ func (binary *binaryDecorator) staticallyLinked() bool {
func (binary *binaryDecorator) testBinary() bool {
return false
}
+
+func (binary *binaryDecorator) moduleInfoJSON(ctx ModuleContext, moduleInfoJSON *android.ModuleInfoJSON) {
+ binary.baseCompiler.moduleInfoJSON(ctx, moduleInfoJSON)
+ moduleInfoJSON.Class = []string{"EXECUTABLES"}
+}