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/ccache.gni") | 6 import("//build/toolchain/ccache.gni") |
7 import("//build/toolchain/clang.gni") | 7 import("//build/toolchain/clang.gni") |
8 import("//build/toolchain/gcc_toolchain.gni") | 8 import("//build/toolchain/gcc_toolchain.gni") |
9 import("//build/toolchain/goma.gni") | 9 import("//build/toolchain/goma.gni") |
10 | 10 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 readelf = "${prefix}readelf" | 119 readelf = "${prefix}readelf" |
120 nm = "${prefix}nm" | 120 nm = "${prefix}nm" |
121 ar = "${prefix}ar" | 121 ar = "${prefix}ar" |
122 ld = cxx | 122 ld = cxx |
123 strip = "${prefix}strip" | 123 strip = "${prefix}strip" |
124 | 124 |
125 toolchain_cpu = "x64" | 125 toolchain_cpu = "x64" |
126 toolchain_os = "linux" | 126 toolchain_os = "linux" |
127 is_clang = false | 127 is_clang = false |
128 } | 128 } |
129 | |
130 gcc_toolchain("mipsel") { | |
131 cc = "${compiler_prefix}${toolchain_prefix}gcc" | |
132 cxx = "${compiler_prefix}${toolchain_prefix}g++" | |
133 ar = "${toolchain_prefix}ar" | |
134 ld = cxx | |
135 readelf = "${toolchain_prefix}readelf" | |
136 nm = "${toolchain_prefix}nm" | |
137 strip = "${toolchain_prefix}strip" | |
138 | |
139 toolchain_cpu = "${target_cpu}" | |
140 toolchain_os = "linux" | |
141 is_clang = is_clang | |
142 } | |
OLD | NEW |