Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Side by Side Diff: build/toolchain/linux/BUILD.gn

Issue 1475943003: gn: add support for clang for MIPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/nacl/config.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « build/config/nacl/config.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698