Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: site_scons/site_tools/naclsdk.py

Issue 12450015: **/*.py: use /usr/bin/env to find python Base URL: https://chromium.googlesource.com/native_client/src/native_client@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « site_scons/site_tools/environment_tools.py ('k') | site_scons/site_tools/publish.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """NaCl SDK tool SCons.""" 6 """NaCl SDK tool SCons."""
7 7
8 import __builtin__ 8 import __builtin__
9 import re 9 import re
10 import os 10 import os
11 import shutil 11 import shutil
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 # Dependency files it produces are to be found in ${LIBPATH}. 802 # Dependency files it produces are to be found in ${LIBPATH}.
803 # It is applied recursively to those dependencies in case 803 # It is applied recursively to those dependencies in case
804 # some of them are linker scripts too. 804 # some of them are linker scripts too.
805 ldscript_scanner = SCons.Scanner.Base( 805 ldscript_scanner = SCons.Scanner.Base(
806 function=ScanLinkerScript, 806 function=ScanLinkerScript,
807 skeys=['.a', '.so', '.pso'], 807 skeys=['.a', '.so', '.pso'],
808 path_function=SCons.Scanner.FindPathDirs('LIBPATH'), 808 path_function=SCons.Scanner.FindPathDirs('LIBPATH'),
809 recursive=True 809 recursive=True
810 ) 810 )
811 env.Append(SCANNERS=ldscript_scanner) 811 env.Append(SCANNERS=ldscript_scanner)
OLDNEW
« no previous file with comments | « site_scons/site_tools/environment_tools.py ('k') | site_scons/site_tools/publish.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698