OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 import("//build/config/sysroot.gni") | 5 import("//build/config/sysroot.gni") |
6 import("//build/toolchain/gcc_toolchain.gni") | 6 import("//build/toolchain/gcc_toolchain.gni") |
7 | 7 |
8 clang_toolchain("clang_arm") { | 8 clang_toolchain("clang_arm") { |
9 toolprefix = "arm-linux-gnueabihf-" | 9 toolprefix = "arm-linux-gnueabihf-" |
10 toolchain_args = { | 10 toolchain_args = { |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 nm = "mipsel-linux-gnu-nm" | 163 nm = "mipsel-linux-gnu-nm" |
164 | 164 |
165 toolchain_args = { | 165 toolchain_args = { |
166 cc_wrapper = "" | 166 cc_wrapper = "" |
167 current_cpu = "mipsel" | 167 current_cpu = "mipsel" |
168 current_os = "linux" | 168 current_os = "linux" |
169 is_clang = false | 169 is_clang = false |
170 use_goma = false | 170 use_goma = false |
171 } | 171 } |
172 } | 172 } |
| 173 |
| 174 gcc_toolchain("s390x") { |
| 175 cc = "gcc" |
| 176 cxx = "g++" |
| 177 |
| 178 readelf = "readelf" |
| 179 nm = "nm" |
| 180 ar = "ar" |
| 181 ld = cxx |
| 182 |
| 183 toolchain_args = { |
| 184 current_cpu = "s390x" |
| 185 current_os = "linux" |
| 186 is_clang = false |
| 187 } |
| 188 } |
| 189 |
| 190 gcc_toolchain("ppc64") { |
| 191 cc = "gcc" |
| 192 cxx = "g++" |
| 193 |
| 194 readelf = "readelf" |
| 195 nm = "nm" |
| 196 ar = "ar" |
| 197 ld = cxx |
| 198 |
| 199 toolchain_args = { |
| 200 current_cpu = "ppc64" |
| 201 current_os = "linux" |
| 202 is_clang = false |
| 203 } |
| 204 } |
OLD | NEW |