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

Side by Side Diff: build/toolchain/nacl_toolchain.gni

Issue 1979973002: Correctly set -stdlib=libc++ when building with a custom libc++. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « build/toolchain/gcc_toolchain.gni ('k') | 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/nacl/config.gni") 5 import("//build/config/nacl/config.gni")
6 import("//build/toolchain/gcc_toolchain.gni") 6 import("//build/toolchain/gcc_toolchain.gni")
7 7
8 # This template defines a NaCl toolchain. 8 # This template defines a NaCl toolchain.
9 # 9 #
10 # It requires the following variables specifying the executables to run: 10 # It requires the following variables specifying the executables to run:
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 if (defined(invoker.is_clang)) { 49 if (defined(invoker.is_clang)) {
50 is_clang = invoker.is_clang 50 is_clang = invoker.is_clang
51 } 51 }
52 if (defined(invoker.is_nacl_glibc)) { 52 if (defined(invoker.is_nacl_glibc)) {
53 is_nacl_glibc = invoker.is_nacl_glibc 53 is_nacl_glibc = invoker.is_nacl_glibc
54 } 54 }
55 if (defined(invoker.symbol_level)) { 55 if (defined(invoker.symbol_level)) {
56 symbol_level = invoker.symbol_level 56 symbol_level = invoker.symbol_level
57 } 57 }
58 58
59 # We do not support component builds or sanitizers with the NaCl toolchains. 59 # We do not support component builds with the NaCl toolchains.
60 is_component_build = false 60 is_component_build = false
61 clear_sanitizers = true
62 61
63 # We do not support tcmalloc in the NaCl toolchains. 62 # We do not support tcmalloc in the NaCl toolchains.
64 use_allocator = "none" 63 use_allocator = "none"
65 64
66 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision 65 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision
67 } 66 }
68 } 67 }
OLDNEW
« no previous file with comments | « build/toolchain/gcc_toolchain.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698