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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 ar = "ar" | 46 ar = "ar" |
47 ld = cxx | 47 ld = cxx |
48 | 48 |
49 toolchain_cpu = "x86" | 49 toolchain_cpu = "x86" |
50 toolchain_os = "linux" | 50 toolchain_os = "linux" |
51 is_clang = true | 51 is_clang = true |
52 } | 52 } |
53 | 53 |
54 gcc_toolchain("x86") { | 54 gcc_toolchain("x86") { |
55 cc = "${compiler_prefix}gcc" | 55 cc = "${compiler_prefix}gcc" |
56 cxx = "$compiler_prefix}g++" | 56 cxx = "${compiler_prefix}g++" |
57 | 57 |
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 = "x86" | 63 toolchain_cpu = "x86" |
64 toolchain_os = "linux" | 64 toolchain_os = "linux" |
65 is_clang = false | 65 is_clang = false |
66 } | 66 } |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 cxx = "mipsel-linux-gnu-g++" | 105 cxx = "mipsel-linux-gnu-g++" |
106 ar = "mipsel-linux-gnu-ar" | 106 ar = "mipsel-linux-gnu-ar" |
107 ld = cxx | 107 ld = cxx |
108 readelf = "mipsel-linux-gnu-readelf" | 108 readelf = "mipsel-linux-gnu-readelf" |
109 nm = "mipsel-linux-gnu-nm" | 109 nm = "mipsel-linux-gnu-nm" |
110 | 110 |
111 toolchain_cpu = "mipsel" | 111 toolchain_cpu = "mipsel" |
112 toolchain_os = "linux" | 112 toolchain_os = "linux" |
113 is_clang = false | 113 is_clang = false |
114 } | 114 } |
OLD | NEW |