A common solution for developers using Linux distributions were
/usr/bin/python is linked to /usr/bin/python3 is to put a python ->
python2 symlink earlier in the PATH when working with python2-only
projects. This doesn't work when shebangs bypasses any environment
configuration.
The change was generated by executing:
sed -i 's|#!/usr/bin/python|#!/usr/bin/env python|' \
$(grep -rl '#!/usr/bin/python' build)
Change-Id: I2de77532fd31a0348ec58f4d9af4b7172dc1b9ed
Reviewed-on: https://chromium-review.googlesource.com/559347
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: Ingemar Ådahl <ingemara@opera.com>
Cr-Original-Commit-Position: refs/heads/master@{#484266}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 504c076b196be39b9083a6cab1c9dee11a66b33e
Add template to run a java command as an "script", i.e. templates
java_action/java_action_foreach similar to action/action_foreach.
Add template to compile a bunch of JavaScript to a bundle and to
compile JavaScript files with closure compile (only enable checks
that are known to work).
Fix gcdwebserver public configuration to add the dependency on libz
to libs instead of using ldflags.
Add files missing from //ui/base:test_support when building for iOS
with gn (they are present in the gyp build).
BUG=459705
Review URL: https://codereview.chromium.org/1393303003
Cr-Original-Commit-Position: refs/heads/master@{#355460}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aa7c1cf96274a0a531629f934bd9091a55439270