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

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

Issue 1426623002: GN: mark newlib_pnacl toolchain as clang (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 (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/config/nacl/config.gni") 6 import("//build/config/nacl/config.gni")
7 import("//build/toolchain/nacl_toolchain.gni") 7 import("//build/toolchain/nacl_toolchain.gni")
8 8
9 # Add the toolchain revision as a preprocessor define so that sources are 9 # Add the toolchain revision as a preprocessor define so that sources are
10 # rebuilt when a toolchain is updated. 10 # rebuilt when a toolchain is updated.
(...skipping 14 matching lines...) Expand all
25 pnacl_newlib_rev = revisions[2] 25 pnacl_newlib_rev = revisions[2]
26 26
27 nacl_toolchain("newlib_pnacl") { 27 nacl_toolchain("newlib_pnacl") {
28 toolchain_package = "pnacl_newlib" 28 toolchain_package = "pnacl_newlib"
29 toolchain_revision = pnacl_newlib_rev 29 toolchain_revision = pnacl_newlib_rev
30 toolchain_cpu = "pnacl" 30 toolchain_cpu = "pnacl"
31 toolprefix = 31 toolprefix =
32 rebase_path("${nacl_toolchain_dir}/${toolchain_package}/bin/pnacl-", 32 rebase_path("${nacl_toolchain_dir}/${toolchain_package}/bin/pnacl-",
33 root_build_dir) 33 root_build_dir)
34 34
35 is_clang = true
35 cc = toolprefix + "clang" 36 cc = toolprefix + "clang"
36 cxx = toolprefix + "clang++" 37 cxx = toolprefix + "clang++"
37 ar = toolprefix + "ar" 38 ar = toolprefix + "ar"
38 ld = cxx 39 ld = cxx
39 executable_extension = ".pexe.debug" 40 executable_extension = ".pexe.debug"
40 41
41 finalize = toolprefix + "finalize" 42 finalize = toolprefix + "finalize"
42 nonfinal_file = 43 nonfinal_file =
43 "{{root_out_dir}}/{{target_output_name}}${executable_extension}" 44 "{{root_out_dir}}/{{target_output_name}}${executable_extension}"
44 finalized_file = "{{root_out_dir}}/{{target_output_name}}.pexe" 45 finalized_file = "{{root_out_dir}}/{{target_output_name}}.pexe"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 toolchain_tuple = "i686-nacl" 165 toolchain_tuple = "i686-nacl"
165 } 166 }
166 167
167 nacl_clang_toolchains("x64") { 168 nacl_clang_toolchains("x64") {
168 toolchain_tuple = "x86_64-nacl" 169 toolchain_tuple = "x86_64-nacl"
169 } 170 }
170 171
171 nacl_clang_toolchains("arm") { 172 nacl_clang_toolchains("arm") {
172 toolchain_tuple = "arm-nacl" 173 toolchain_tuple = "arm-nacl"
173 } 174 }
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