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

Side by Side Diff: src/trusted/service_runtime/linux/toolchain/BUILD.gn

Issue 2004303005: Force split-dwarf off for nacl_helper_bootstrap. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: add comment Created 4 years, 7 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) 2015 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2015 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/toolchain/gcc_toolchain.gni") 5 import("//build/toolchain/gcc_toolchain.gni")
6 6
7 # This toolchain's sole purpose is to compile nacl_helper_bootstrap.c. 7 # This toolchain's sole purpose is to compile nacl_helper_bootstrap.c.
8 # That requires a separate toolchain because that's the most reasonable way 8 # That requires a separate toolchain because that's the most reasonable way
9 # to instantiate the standard configs in a context where use_gold=false 9 # to instantiate the standard configs in a context where use_gold=false
10 # when the main build is using use_gold=true. See ../BUILD.gn for details. 10 # and use_debug_fission=false when the main build is using either
11 # use_gold=true or use_debug_fission=true. See ../BUILD.gn for details.
11 12
12 template("nacl_bootstrap_toolchain") { 13 template("nacl_bootstrap_toolchain") {
13 clang_toolchain(target_name) { 14 clang_toolchain(target_name) {
14 toolchain_cpu = invoker.toolchain_cpu 15 toolchain_cpu = invoker.toolchain_cpu
15 toolchain_os = target_os 16 toolchain_os = target_os
17 use_debug_fission = false
16 use_gold = false 18 use_gold = false
17 } 19 }
18 } 20 }
19 21
20 nacl_bootstrap_toolchain("nacl_bootstrap_x64") { 22 nacl_bootstrap_toolchain("nacl_bootstrap_x64") {
21 toolchain_cpu = "x64" 23 toolchain_cpu = "x64"
22 } 24 }
23 25
24 nacl_bootstrap_toolchain("nacl_bootstrap_x86") { 26 nacl_bootstrap_toolchain("nacl_bootstrap_x86") {
25 toolchain_cpu = "x86" 27 toolchain_cpu = "x86"
26 } 28 }
27 29
28 nacl_bootstrap_toolchain("nacl_bootstrap_arm") { 30 nacl_bootstrap_toolchain("nacl_bootstrap_arm") {
29 toolchain_cpu = "arm" 31 toolchain_cpu = "arm"
30 } 32 }
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