| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/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 import re | 6 import re |
| 7 import subprocess | 7 import subprocess |
| 8 | 8 |
| 9 from driver_tools import AddHostBinarySearchPath, DefaultOutputName, \ | 9 from driver_tools import AddHostBinarySearchPath, DefaultOutputName, \ |
| 10 DriverChain, GetArch, ParseArgs, ParseTriple, Run, RunDriver, RunWithEnv, \ | 10 DriverChain, GetArch, ParseArgs, ParseTriple, Run, RunDriver, RunWithEnv, \ |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 'ISYSTEM_USER' : '', # System include directories specified by | 95 'ISYSTEM_USER' : '', # System include directories specified by |
| 96 # using the -isystem flag. | 96 # using the -isystem flag. |
| 97 | 97 |
| 98 'ISYSTEM_BUILTIN': | 98 'ISYSTEM_BUILTIN': |
| 99 '${BASE_USR}/local/include ' + | 99 '${BASE_USR}/local/include ' + |
| 100 '${ISYSTEM_CLANG} ' + | 100 '${ISYSTEM_CLANG} ' + |
| 101 '${ISYSTEM_CXX} ' + | 101 '${ISYSTEM_CXX} ' + |
| 102 '${BASE_USR}/include ' + | 102 '${BASE_USR}/include ' + |
| 103 '${BASE_SDK}/include ', | 103 '${BASE_SDK}/include ', |
| 104 | 104 |
| 105 'ISYSTEM_CLANG' : '${BASE_LLVM}/lib/clang/3.4/include', | 105 'ISYSTEM_CLANG' : '${BASE_LLVM}/lib/clang/${CLANG_VER}/include', |
| 106 | 106 |
| 107 'ISYSTEM_CXX' : | 107 'ISYSTEM_CXX' : |
| 108 '${INCLUDE_CXX_HEADERS && STDINCCXX ? ${ISYSTEM_CXX_include_paths}}', | 108 '${INCLUDE_CXX_HEADERS && STDINCCXX ? ${ISYSTEM_CXX_include_paths}}', |
| 109 | 109 |
| 110 'ISYSTEM_CXX_include_paths' : | 110 'ISYSTEM_CXX_include_paths' : |
| 111 '${BASE_USR}/include/c++/${STDLIB_IDIR} ' + | 111 '${BASE_USR}/include/c++/${STDLIB_IDIR} ' + |
| 112 '${BASE_USR}/include/c++/${STDLIB_IDIR}/arm-none-linux-gnueabi ' + | 112 '${BASE_USR}/include/c++/${STDLIB_IDIR}/arm-none-linux-gnueabi ' + |
| 113 '${BASE_USR}/include/c++/${STDLIB_IDIR}/backward', | 113 '${BASE_USR}/include/c++/${STDLIB_IDIR}/backward', |
| 114 | 114 |
| 115 | 115 |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 -g Generate complete debug information. | 786 -g Generate complete debug information. |
| 787 -gline-tables-only Generate debug line-information only | 787 -gline-tables-only Generate debug line-information only |
| 788 (allowing for stack traces). | 788 (allowing for stack traces). |
| 789 -flimit-debug-info Generate limited debug information. | 789 -flimit-debug-info Generate limited debug information. |
| 790 -save-temps Keep intermediate compilation results. | 790 -save-temps Keep intermediate compilation results. |
| 791 -v Verbose output / show commands. | 791 -v Verbose output / show commands. |
| 792 -h | --help Show this help. | 792 -h | --help Show this help. |
| 793 --help-full Show underlying clang driver's help message | 793 --help-full Show underlying clang driver's help message |
| 794 (warning: not all options supported). | 794 (warning: not all options supported). |
| 795 """ % (tool) | 795 """ % (tool) |
| OLD | NEW |