summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
author mrziwang <mrziwang@google.com> 2025-02-28 00:40:28 +0000
committer mrziwang <mrziwang@google.com> 2025-02-28 00:40:28 +0000
commiteb4413292e8f59589d0167ec826adfab2ba4d827 (patch)
treeca9a68b6f01bb89bcedade89e6bc34af1ddc9bb3 /sh
parent99939adf82f435e8f4b531b5da7435c656b01433 (diff)
Add ModuleInfoJSON for sh_binary
Test: CI Bug: 388850000 Change-Id: I1c316f04e17f920565b98dfacd967e34b0ba4d86
Diffstat (limited to 'sh')
-rw-r--r--sh/sh_binary.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/sh/sh_binary.go b/sh/sh_binary.go
index f8d1ce523..d00c056ee 100644
--- a/sh/sh_binary.go
+++ b/sh/sh_binary.go
@@ -356,6 +356,8 @@ func (s *ShBinary) GenerateAndroidBuildActions(ctx android.ModuleContext) {
for _, symlink := range s.Symlinks() {
ctx.InstallSymlink(installDir, symlink, s.installedFile)
}
+ moduleInfoJSON := ctx.ModuleInfoJSON()
+ moduleInfoJSON.Class = []string{"EXECUTABLES"}
}
func (s *ShBinary) AndroidMkEntries() []android.AndroidMkEntries {