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

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

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup the compiler configuration Created 5 years, 2 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
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 toolchain_tuple = "i686-nacl" 164 toolchain_tuple = "i686-nacl"
165 } 165 }
166 166
167 nacl_clang_toolchains("x64") { 167 nacl_clang_toolchains("x64") {
168 toolchain_tuple = "x86_64-nacl" 168 toolchain_tuple = "x86_64-nacl"
169 } 169 }
170 170
171 nacl_clang_toolchains("arm") { 171 nacl_clang_toolchains("arm") {
172 toolchain_tuple = "arm-nacl" 172 toolchain_tuple = "arm-nacl"
173 } 173 }
174
175 nacl_toolchain("newlib_pnacl_nonsfi") {
Mark Seaborn 2015/10/22 21:48:30 How about putting this immediately after nacl_tool
Petr Hosek 2015/10/23 03:01:15 Done.
176 toolchain_package = "pnacl_newlib"
177 toolchain_revision = pnacl_newlib_rev
178 toolchain_cpu = "pnacl"
179 toolprefix =
180 rebase_path("${nacl_toolchain_dir}/${toolchain_package}/bin/pnacl-",
181 root_build_dir)
182 is_nacl_nonsfi = true
183
184 is_clang = true
185 cc = toolprefix + "clang"
186 cxx = toolprefix + "clang++"
187 ar = toolprefix + "ar"
188 ld = cxx
189 executable_extension = ""
190 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698