| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This value will be inherited in the toolchain below. |
| 6 concurrent_links = exec_script("get_concurrent_links.py", [], "value") |
| 7 |
| 5 # This template defines a toolchain for something that works like gcc | 8 # This template defines a toolchain for something that works like gcc |
| 6 # (including clang). | 9 # (including clang). |
| 7 # | 10 # |
| 8 # It requires the following variables specifying the executables to run: | 11 # It requires the following variables specifying the executables to run: |
| 9 # - cc | 12 # - cc |
| 10 # - cxx | 13 # - cxx |
| 11 # - ar | 14 # - ar |
| 12 # - ld | 15 # - ld |
| 13 # and the following which is used in the toolchain_args | 16 # and the following which is used in the toolchain_args |
| 14 # - toolchain_cpu_arch (What "cpu_arch" should be set to when invoking a | 17 # - toolchain_cpu_arch (What "cpu_arch" should be set to when invoking a |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 if (defined(invoker.is_clang)) { | 197 if (defined(invoker.is_clang)) { |
| 195 is_clang = invoker.is_clang | 198 is_clang = invoker.is_clang |
| 196 } | 199 } |
| 197 } | 200 } |
| 198 | 201 |
| 199 if (defined(invoker.deps)) { | 202 if (defined(invoker.deps)) { |
| 200 deps = invoker.deps | 203 deps = invoker.deps |
| 201 } | 204 } |
| 202 } | 205 } |
| 203 } | 206 } |
| OLD | NEW |