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

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

Issue 2494563002: GN: Don't strip binary with clang on x64 (Closed)
Patch Set: Created 4 years, 1 month 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 | 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/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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 gcc_toolchain("clang_x64") { 81 gcc_toolchain("clang_x64") {
82 prefix = rebase_path("//third_party/llvm-build/Release+Asserts/bin", 82 prefix = rebase_path("//third_party/llvm-build/Release+Asserts/bin",
83 root_build_dir) 83 root_build_dir)
84 cc = "${compiler_prefix}$prefix/clang" 84 cc = "${compiler_prefix}$prefix/clang"
85 cxx = "${compiler_prefix}$prefix/clang++" 85 cxx = "${compiler_prefix}$prefix/clang++"
86 86
87 readelf = "readelf" 87 readelf = "readelf"
88 nm = "nm" 88 nm = "nm"
89 ar = "ar" 89 ar = "ar"
90 ld = cxx 90 ld = cxx
91 strip = "strip"
92 91
93 toolchain_cpu = "x64" 92 toolchain_cpu = "x64"
94 toolchain_os = "linux" 93 toolchain_os = "linux"
95 is_clang = true 94 is_clang = true
96 } 95 }
97 96
98 gcc_toolchain("x64") { 97 gcc_toolchain("x64") {
99 cc = "${compiler_prefix}gcc" 98 cc = "${compiler_prefix}gcc"
100 cxx = "${compiler_prefix}g++" 99 cxx = "${compiler_prefix}g++"
101 100
(...skipping 12 matching lines...) Expand all
114 cxx = "${toolchain_prefix}g++" 113 cxx = "${toolchain_prefix}g++"
115 ar = "${toolchain_prefix}ar" 114 ar = "${toolchain_prefix}ar"
116 ld = cxx 115 ld = cxx
117 readelf = "${toolchain_prefix}readelf" 116 readelf = "${toolchain_prefix}readelf"
118 nm = "${toolchain_prefix}nm" 117 nm = "${toolchain_prefix}nm"
119 118
120 toolchain_cpu = "${target_cpu}" 119 toolchain_cpu = "${target_cpu}"
121 toolchain_os = "linux" 120 toolchain_os = "linux"
122 is_clang = is_clang 121 is_clang = is_clang
123 } 122 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698