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

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

Issue 1411173004: GN: mark newlib_pnacl toolchain as clang (Closed) Base URL: https://github.com/domokit/mojo.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 12 matching lines...) Expand all
23 pnacl_newlib_rev = revisions[1] 23 pnacl_newlib_rev = revisions[1]
24 24
25 nacl_toolchain("newlib_pnacl") { 25 nacl_toolchain("newlib_pnacl") {
26 toolchain_package = "pnacl_newlib" 26 toolchain_package = "pnacl_newlib"
27 toolchain_revision = pnacl_newlib_rev 27 toolchain_revision = pnacl_newlib_rev
28 toolchain_cpu = "pnacl" 28 toolchain_cpu = "pnacl"
29 toolprefix = 29 toolprefix =
30 rebase_path("${nacl_toolchain_dir}/${toolchain_package}/bin/pnacl-", 30 rebase_path("${nacl_toolchain_dir}/${toolchain_package}/bin/pnacl-",
31 root_build_dir) 31 root_build_dir)
32 32
33 is_clang = true
33 cc = toolprefix + "clang" 34 cc = toolprefix + "clang"
34 cxx = toolprefix + "clang++" 35 cxx = toolprefix + "clang++"
35 ar = toolprefix + "ar" 36 ar = toolprefix + "ar"
36 ld = cxx 37 ld = cxx
37 executable_extension = ".pexe.debug" 38 executable_extension = ".pexe.debug"
38 39
39 finalize = toolprefix + "finalize" 40 finalize = toolprefix + "finalize"
40 nonfinal_file = 41 nonfinal_file =
41 "{{root_out_dir}}/{{target_output_name}}${executable_extension}" 42 "{{root_out_dir}}/{{target_output_name}}${executable_extension}"
42 finalized_file = "{{root_out_dir}}/{{target_output_name}}.pexe" 43 finalized_file = "{{root_out_dir}}/{{target_output_name}}.pexe"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 toolchain_tuple = "i686-nacl" 151 toolchain_tuple = "i686-nacl"
151 } 152 }
152 153
153 nacl_clang_toolchains("x64") { 154 nacl_clang_toolchains("x64") {
154 toolchain_tuple = "x86_64-nacl" 155 toolchain_tuple = "x86_64-nacl"
155 } 156 }
156 157
157 nacl_clang_toolchains("arm") { 158 nacl_clang_toolchains("arm") {
158 toolchain_tuple = "arm-nacl" 159 toolchain_tuple = "arm-nacl"
159 } 160 }
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