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" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 readelf = "readelf" | 58 readelf = "readelf" |
59 nm = "nm" | 59 nm = "nm" |
60 ar = "ar" | 60 ar = "ar" |
61 ld = cxx | 61 ld = cxx |
62 | 62 |
63 toolchain_cpu = "x64" | 63 toolchain_cpu = "x64" |
64 toolchain_os = "linux" | 64 toolchain_os = "linux" |
65 is_clang = false | 65 is_clang = false |
66 } | 66 } |
67 | 67 |
| 68 clang_toolchain("clang_mipsel") { |
| 69 toolchain_cpu = "mipsel" |
| 70 toolchain_os = "linux" |
| 71 } |
| 72 |
68 gcc_toolchain("mipsel") { | 73 gcc_toolchain("mipsel") { |
69 cc = "mipsel-linux-gnu-gcc" | 74 cc = "mipsel-linux-gnu-gcc" |
70 cxx = "mipsel-linux-gnu-g++" | 75 cxx = "mipsel-linux-gnu-g++" |
71 ar = "mipsel-linux-gnu-ar" | 76 ar = "mipsel-linux-gnu-ar" |
72 ld = cxx | 77 ld = cxx |
73 readelf = "mipsel-linux-gnu-readelf" | 78 readelf = "mipsel-linux-gnu-readelf" |
74 nm = "mipsel-linux-gnu-nm" | 79 nm = "mipsel-linux-gnu-nm" |
75 | 80 |
76 toolchain_cpu = "mipsel" | 81 toolchain_cpu = "mipsel" |
77 toolchain_os = "linux" | 82 toolchain_os = "linux" |
78 is_clang = false | 83 is_clang = false |
79 use_ccache = false | 84 use_ccache = false |
80 use_goma = false | 85 use_goma = false |
81 } | 86 } |
OLD | NEW |