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

Unified Diff: build/toolchain/linux/BUILD.gn

Issue 2892413002: Fix ARMv6 Linux cross-build (Closed)
Patch Set: Add an argument to specifiy the float ABI Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/linux/BUILD.gn
diff --git a/build/toolchain/linux/BUILD.gn b/build/toolchain/linux/BUILD.gn
index 787e54194c755faccfb475a843a77b5edc77f102..79313f34b2532e1cf7d5cef641ca7bfdf2a6bb0a 100644
--- a/build/toolchain/linux/BUILD.gn
+++ b/build/toolchain/linux/BUILD.gn
@@ -10,6 +10,7 @@ import("//build/toolchain/goma.gni")
declare_args() {
toolchain_prefix = ""
+ # TODO(zra): Add an argument for overriding the host toolchain.
}
if (use_goma) {
@@ -64,9 +65,6 @@ gcc_toolchain("arm64") {
gcc_toolchain("clang_x86") {
prefix = rebase_path("//buildtools/toolchain/clang+llvm-x86_64-linux/bin",
root_build_dir)
- if (toolchain_prefix != "") {
- prefix = toolchain_prefix
- }
cc = "${compiler_prefix}${prefix}/clang"
cxx = "${compiler_prefix}${prefix}/clang++"
readelf = "readelf"
@@ -82,9 +80,6 @@ gcc_toolchain("clang_x86") {
gcc_toolchain("x86") {
prefix = ""
- if (toolchain_prefix != "") {
- prefix = toolchain_prefix
- }
cc = "${compiler_prefix}${prefix}gcc"
cxx = "${compiler_prefix}${prefix}g++"
@@ -102,9 +97,6 @@ gcc_toolchain("x86") {
gcc_toolchain("clang_x64") {
prefix = rebase_path("//buildtools/toolchain/clang+llvm-x86_64-linux/bin",
root_build_dir)
- if (toolchain_prefix != "") {
- prefix = toolchain_prefix
- }
cc = "${compiler_prefix}${prefix}/clang"
cxx = "${compiler_prefix}${prefix}/clang++"
@@ -121,9 +113,6 @@ gcc_toolchain("clang_x64") {
gcc_toolchain("x64") {
prefix = ""
- if (toolchain_prefix != "") {
- prefix = toolchain_prefix
- }
cc = "${compiler_prefix}${prefix}gcc"
cxx = "${compiler_prefix}${prefix}g++"
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698