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

Side by Side Diff: src/trusted/service_runtime/export_header.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/usage_log.py ('k') | src/trusted/service_runtime/linux/ld_bfd.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) 2008 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2008 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 """Tools for exporting Native Client ABI header files. 6 """Tools for exporting Native Client ABI header files.
7 7
8 This module is used to export Native Client ABI header files -- which 8 This module is used to export Native Client ABI header files -- which
9 are in the native_client/src/trusted/service_runtime/include directory 9 are in the native_client/src/trusted/service_runtime/include directory
10 -- for use with the SDK and newlib to compile NaCl applications. 10 -- for use with the SDK and newlib to compile NaCl applications.
11 """ 11 """
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 return 1 98 return 1
99 # endif 99 # endif
100 ProcessDir(argv[1], argv[2], 100 ProcessDir(argv[1], argv[2],
101 reduce(os.path.join, UNMODIFIED_DIR, argv[2])) 101 reduce(os.path.join, UNMODIFIED_DIR, argv[2]))
102 return 0 102 return 0
103 # enddef 103 # enddef
104 104
105 if __name__ == '__main__': 105 if __name__ == '__main__':
106 sys.exit(main(sys.argv)) 106 sys.exit(main(sys.argv))
107 # endif 107 # endif
OLDNEW
« no previous file with comments | « site_scons/usage_log.py ('k') | src/trusted/service_runtime/linux/ld_bfd.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698