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 toolchain_cpu = "arm" | 9 toolchain_cpu = "arm" |
10 toolchain_os = "linux" | 10 toolchain_os = "linux" |
11 toolprefix = "arm-linux-gnueabihf-" | 11 toolprefix = "arm-linux-gnueabihf-" |
12 } | 12 } |
13 | 13 |
| 14 clang_toolchain("clang_arm64") { |
| 15 toolchain_cpu = "arm64" |
| 16 toolchain_os = "linux" |
| 17 toolprefix = "aarch64-linux-gnu-" |
| 18 } |
| 19 |
14 gcc_toolchain("arm") { | 20 gcc_toolchain("arm") { |
15 toolprefix = "arm-linux-gnueabihf-" | 21 toolprefix = "arm-linux-gnueabihf-" |
16 | 22 |
17 cc = "${toolprefix}gcc" | 23 cc = "${toolprefix}gcc" |
18 cxx = "${toolprefix}g++" | 24 cxx = "${toolprefix}g++" |
19 | 25 |
20 ar = "${toolprefix}ar" | 26 ar = "${toolprefix}ar" |
21 ld = cxx | 27 ld = cxx |
22 readelf = "${toolprefix}readelf" | 28 readelf = "${toolprefix}readelf" |
23 nm = "${toolprefix}nm" | 29 nm = "${toolprefix}nm" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 ld = cxx | 83 ld = cxx |
78 readelf = "mipsel-linux-gnu-readelf" | 84 readelf = "mipsel-linux-gnu-readelf" |
79 nm = "mipsel-linux-gnu-nm" | 85 nm = "mipsel-linux-gnu-nm" |
80 | 86 |
81 toolchain_cpu = "mipsel" | 87 toolchain_cpu = "mipsel" |
82 toolchain_os = "linux" | 88 toolchain_os = "linux" |
83 is_clang = false | 89 is_clang = false |
84 cc_wrapper = "" | 90 cc_wrapper = "" |
85 use_goma = false | 91 use_goma = false |
86 } | 92 } |
OLD | NEW |