Merge "Add symlinks to Soong-installed sh_binary"
This commit is contained in:
commit
3d3aa7038b
1 changed files with 3 additions and 0 deletions
|
@ -275,6 +275,9 @@ func (s *ShBinary) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
|||
s.generateAndroidBuildActions(ctx)
|
||||
installDir := android.PathForModuleInstall(ctx, "bin", proptools.String(s.properties.Sub_dir))
|
||||
s.installedFile = ctx.InstallExecutable(installDir, s.outputFilePath.Base(), s.outputFilePath)
|
||||
for _, symlink := range s.Symlinks() {
|
||||
ctx.InstallSymlink(installDir, symlink, s.installedFile)
|
||||
}
|
||||
}
|
||||
|
||||
func (s *ShBinary) AndroidMkEntries() []android.AndroidMkEntries {
|
||||
|
|
Loading…
Reference in a new issue