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 26 matching lines...) Expand all Loading... |
37 toolchain_cpu = "x86" | 37 toolchain_cpu = "x86" |
38 toolchain_os = "linux" | 38 toolchain_os = "linux" |
39 } | 39 } |
40 | 40 |
41 clang_toolchain("clang_x86_v8_arm") { | 41 clang_toolchain("clang_x86_v8_arm") { |
42 toolchain_cpu = "x86" | 42 toolchain_cpu = "x86" |
43 v8_toolchain_cpu = "arm" | 43 v8_toolchain_cpu = "arm" |
44 toolchain_os = "linux" | 44 toolchain_os = "linux" |
45 } | 45 } |
46 | 46 |
| 47 clang_toolchain("clang_x86_v8_mipsel") { |
| 48 toolchain_cpu = "x86" |
| 49 v8_toolchain_cpu = "mipsel" |
| 50 toolchain_os = "linux" |
| 51 } |
| 52 |
47 gcc_toolchain("x86") { | 53 gcc_toolchain("x86") { |
48 cc = "gcc" | 54 cc = "gcc" |
49 cxx = "g++" | 55 cxx = "g++" |
50 | 56 |
51 readelf = "readelf" | 57 readelf = "readelf" |
52 nm = "nm" | 58 nm = "nm" |
53 ar = "ar" | 59 ar = "ar" |
54 ld = cxx | 60 ld = cxx |
55 | 61 |
56 toolchain_cpu = "x86" | 62 toolchain_cpu = "x86" |
57 toolchain_os = "linux" | 63 toolchain_os = "linux" |
58 is_clang = false | 64 is_clang = false |
59 } | 65 } |
60 | 66 |
61 clang_toolchain("clang_x64") { | 67 clang_toolchain("clang_x64") { |
62 toolchain_cpu = "x64" | 68 toolchain_cpu = "x64" |
63 toolchain_os = "linux" | 69 toolchain_os = "linux" |
64 } | 70 } |
65 | 71 |
66 clang_toolchain("clang_x64_v8_arm64") { | 72 clang_toolchain("clang_x64_v8_arm64") { |
67 toolchain_cpu = "x64" | 73 toolchain_cpu = "x64" |
68 v8_toolchain_cpu = "arm64" | 74 v8_toolchain_cpu = "arm64" |
69 toolchain_os = "linux" | 75 toolchain_os = "linux" |
70 } | 76 } |
71 | 77 |
| 78 clang_toolchain("clang_x64_v8_mips64el") { |
| 79 toolchain_cpu = "x64" |
| 80 v8_toolchain_cpu = "mips64el" |
| 81 toolchain_os = "linux" |
| 82 } |
| 83 |
72 gcc_toolchain("x64") { | 84 gcc_toolchain("x64") { |
73 cc = "gcc" | 85 cc = "gcc" |
74 cxx = "g++" | 86 cxx = "g++" |
75 | 87 |
76 readelf = "readelf" | 88 readelf = "readelf" |
77 nm = "nm" | 89 nm = "nm" |
78 ar = "ar" | 90 ar = "ar" |
79 ld = cxx | 91 ld = cxx |
80 | 92 |
81 toolchain_cpu = "x64" | 93 toolchain_cpu = "x64" |
(...skipping 13 matching lines...) Expand all Loading... |
95 ld = cxx | 107 ld = cxx |
96 readelf = "mipsel-linux-gnu-readelf" | 108 readelf = "mipsel-linux-gnu-readelf" |
97 nm = "mipsel-linux-gnu-nm" | 109 nm = "mipsel-linux-gnu-nm" |
98 | 110 |
99 toolchain_cpu = "mipsel" | 111 toolchain_cpu = "mipsel" |
100 toolchain_os = "linux" | 112 toolchain_os = "linux" |
101 is_clang = false | 113 is_clang = false |
102 cc_wrapper = "" | 114 cc_wrapper = "" |
103 use_goma = false | 115 use_goma = false |
104 } | 116 } |
OLD | NEW |