From eb4413292e8f59589d0167ec826adfab2ba4d827 Mon Sep 17 00:00:00 2001 From: mrziwang Date: Fri, 28 Feb 2025 00:40:28 +0000 Subject: Add ModuleInfoJSON for sh_binary Test: CI Bug: 388850000 Change-Id: I1c316f04e17f920565b98dfacd967e34b0ba4d86 --- sh/sh_binary.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sh/sh_binary.go') 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 { -- cgit v1.2.3-59-g8ed1b