Merge "Fix: symlink bin/arm directory is not handled correctly"

am: c793ebf1ae

Change-Id: I804e7b18359a1a032568dd6599e58e681de82767
This commit is contained in:
Jiyong Park 2019-07-22 18:14:15 -07:00 committed by android-build-merger
commit 6af7e64515

View file

@ -1031,7 +1031,7 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext, apexType ap
if f.installDir == "bin" || strings.HasPrefix(f.installDir, "bin/") {
executablePaths = append(executablePaths, pathInApex)
for _, s := range f.symlinks {
executablePaths = append(executablePaths, filepath.Join("bin", s))
executablePaths = append(executablePaths, filepath.Join(f.installDir, s))
}
} else {
readOnlyPaths = append(readOnlyPaths, pathInApex)