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

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

Issue 2643583002: GN: Fix cross ARM64 and cross MIPS builds. (Closed)
Patch Set: Created 3 years, 11 months 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 | « no previous file | runtime/platform/globals.h » ('j') | tools/gn.py » ('J')
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/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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 nm = "nm" 102 nm = "nm"
103 ar = "ar" 103 ar = "ar"
104 ld = cxx 104 ld = cxx
105 105
106 toolchain_cpu = "x64" 106 toolchain_cpu = "x64"
107 toolchain_os = "linux" 107 toolchain_os = "linux"
108 is_clang = false 108 is_clang = false
109 } 109 }
110 110
111 gcc_toolchain("mipsel") { 111 gcc_toolchain("mipsel") {
112 cc = "${toolchain_prefix}gcc" 112 cc = "${toolchain_prefix}gcc -EL"
zra 2017/01/18 03:21:33 Please add these here instead: https://github.com
rmacnak 2017/01/20 22:54:47 Done.
113 cxx = "${toolchain_prefix}g++" 113 cxx = "${toolchain_prefix}g++ -EL"
114 ar = "${toolchain_prefix}ar" 114 ar = "${toolchain_prefix}ar"
115 ld = cxx 115 ld = cxx
116 readelf = "${toolchain_prefix}readelf" 116 readelf = "${toolchain_prefix}readelf"
117 nm = "${toolchain_prefix}nm" 117 nm = "${toolchain_prefix}nm"
118 118
119 toolchain_cpu = "${target_cpu}" 119 toolchain_cpu = "${target_cpu}"
120 toolchain_os = "linux" 120 toolchain_os = "linux"
121 is_clang = is_clang 121 is_clang = is_clang
122 } 122 }
OLDNEW
« no previous file with comments | « no previous file | runtime/platform/globals.h » ('j') | tools/gn.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698