DescriptionGN: Avoid nontrivial shell commands in gcc_toolchain tools
The gcc_toolchain template is used for NaCl toolchains on every
host OS, as well as for the native toolchains on a POSIXy OS.
When the host is not POSIXy, the toolchain commands cannot use
nontrivial sh syntax or other POSIX utilities (such as 'cut').
The "ar" and "solink" tools do more than a simple command and
used POSIX sh syntax to do their work. To make these tools
portable, make them use Python scripts instead of those complex
shell command lines.
BUG=512869
R=dpranke@chromium.org
Committed: https://crrev.com/0b367cc8cf4b27037e5c709adf37271c0d90d392
Cr-Commit-Position: refs/heads/master@{#356699}
Patch Set 1 #
Total comments: 12
Patch Set 2 : review nits #Patch Set 3 : pedantically correct os.remove error handling #
Messages
Total messages: 15 (5 generated)
|