OLD | NEW |
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 Loading... |
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 |
OLD | NEW |