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

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

Issue 1325153004: GN: Change extension of debug pexe builds from .pexe-debug to .pexe.debug (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | 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 (c) 2014 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2014 The Native Client 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/nacl_toolchain.gni") 6 import("//build/toolchain/nacl_toolchain.gni")
7 7
8 nacl_toolchain_dir = rebase_path("//native_client/toolchain", root_build_dir) 8 nacl_toolchain_dir = rebase_path("//native_client/toolchain", root_build_dir)
9 os_toolchain_dir = "${nacl_toolchain_dir}/${current_os}_x86" 9 os_toolchain_dir = "${nacl_toolchain_dir}/${current_os}_x86"
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 nacl_toolchain("newlib_pnacl") { 67 nacl_toolchain("newlib_pnacl") {
68 toolchain_package = "pnacl_newlib" 68 toolchain_package = "pnacl_newlib"
69 toolchain_revision = pnacl_newlib_rev 69 toolchain_revision = pnacl_newlib_rev
70 toolchain_cpu = "pnacl" 70 toolchain_cpu = "pnacl"
71 toolprefix = "${os_toolchain_dir}/${toolchain_package}/bin/pnacl-" 71 toolprefix = "${os_toolchain_dir}/${toolchain_package}/bin/pnacl-"
72 72
73 cc = toolprefix + "clang" 73 cc = toolprefix + "clang"
74 cxx = toolprefix + "clang++" 74 cxx = toolprefix + "clang++"
75 ar = toolprefix + "ar" 75 ar = toolprefix + "ar"
76 ld = cxx 76 ld = cxx
77 executable_extension = ".pexe-debug" 77 executable_extension = ".pexe.debug"
78 78
79 finalize = toolprefix + "finalize" 79 finalize = toolprefix + "finalize"
80 nonfinal_file = 80 nonfinal_file =
81 "{{root_out_dir}}/{{target_output_name}}${executable_extension}" 81 "{{root_out_dir}}/{{target_output_name}}${executable_extension}"
82 finalized_file = "{{root_out_dir}}/{{target_output_name}}.pexe" 82 finalized_file = "{{root_out_dir}}/{{target_output_name}}.pexe"
83 postlink = "$finalize $nonfinal_file -o $finalized_file" 83 postlink = "$finalize $nonfinal_file -o $finalized_file"
84 link_outputs = [ finalized_file ] 84 link_outputs = [ finalized_file ]
85 } 85 }
86 86
87 nacl_toolchain("glibc_x86") { 87 nacl_toolchain("glibc_x86") {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 # Some IRT implementations (notably, Chromium's) contain C++ code, 195 # Some IRT implementations (notably, Chromium's) contain C++ code,
196 # so we need to link w/ the C++ linker. 196 # so we need to link w/ the C++ linker.
197 ld = "${python_path} ${link_irt} --tls-edit=tls_edit --link-cmd=${cxx} --reade lf-cmd=${readelf}" 197 ld = "${python_path} ${link_irt} --tls-edit=tls_edit --link-cmd=${cxx} --reade lf-cmd=${readelf}"
198 198
199 # TODO(ncbray): depend on link script 199 # TODO(ncbray): depend on link script
200 deps = [ 200 deps = [
201 "//native_client/src/tools/tls_edit:tls_edit($host_toolchain)", 201 "//native_client/src/tools/tls_edit:tls_edit($host_toolchain)",
202 ] 202 ]
203 } 203 }
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