Add symlinks to sh_binary in soong
This allows us to change `logpersist.start` to `sh_binary` and unblocks breakpad symbol uploading Test: convert logpersist.start to sh_binary and verify symlinks are correct Change-Id: I1b86c512df73a336205ca35216445a08e43bb879
This commit is contained in:
@@ -1035,7 +1035,7 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
return true
|
||||
} else if sh, ok := child.(*android.ShBinary); ok {
|
||||
fileToCopy, dirInApex := getCopyManifestForShBinary(sh)
|
||||
filesInfo = append(filesInfo, apexFile{fileToCopy, depName, dirInApex, shBinary, sh, nil})
|
||||
filesInfo = append(filesInfo, apexFile{fileToCopy, depName, dirInApex, shBinary, sh, sh.Symlinks()})
|
||||
} else if py, ok := child.(*python.Module); ok && py.HostToolPath().Valid() {
|
||||
fileToCopy, dirInApex := getCopyManifestForPyBinary(py)
|
||||
filesInfo = append(filesInfo, apexFile{fileToCopy, depName, dirInApex, pyBinary, py, nil})
|
||||
|
Reference in New Issue
Block a user