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

Side by Side Diff: build/toolchain.gypi

Issue 946283003: [linux] Use _GLIBCXX_DEBUG in Debug builds by default for better checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/standalone.gypi ('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 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 # on the target. 54 # on the target.
55 'v8_can_use_vfp32dregs%': 'false', 55 'v8_can_use_vfp32dregs%': 'false',
56 'arm_test_noprobe%': 'off', 56 'arm_test_noprobe%': 'off',
57 57
58 # Similar to vfp but on MIPS. 58 # Similar to vfp but on MIPS.
59 'v8_can_use_fpu_instructions%': 'true', 59 'v8_can_use_fpu_instructions%': 'true',
60 60
61 # Similar to the ARM hard float ABI but on MIPS. 61 # Similar to the ARM hard float ABI but on MIPS.
62 'v8_use_mips_abi_hardfloat%': 'true', 62 'v8_use_mips_abi_hardfloat%': 'true',
63 63
64 # Force disable libstdc++ debug mode.
65 'disable_glibcxx_debug%': 0,
66
64 'v8_enable_backtrace%': 0, 67 'v8_enable_backtrace%': 0,
65 68
66 # Enable profiling support. Only required on Windows. 69 # Enable profiling support. Only required on Windows.
67 'v8_enable_prof%': 0, 70 'v8_enable_prof%': 0,
68 71
69 # Some versions of GCC 4.5 seem to need -fno-strict-aliasing. 72 # Some versions of GCC 4.5 seem to need -fno-strict-aliasing.
70 'v8_no_strict_aliasing%': 0, 73 'v8_no_strict_aliasing%': 0,
71 74
72 # Chrome needs this definition unconditionally. For standalone V8 builds, 75 # Chrome needs this definition unconditionally. For standalone V8 builds,
73 # it's handled in build/standalone.gypi. 76 # it's handled in build/standalone.gypi.
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 ], 1130 ],
1128 'conditions': [ 1131 'conditions': [
1129 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \ 1132 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \
1130 OS=="qnx" or OS=="aix"', { 1133 OS=="qnx" or OS=="aix"', {
1131 'cflags': [ '-Woverloaded-virtual', '<(wno_array_bounds)', ], 1134 'cflags': [ '-Woverloaded-virtual', '<(wno_array_bounds)', ],
1132 }], 1135 }],
1133 ['OS=="linux" and v8_enable_backtrace==1', { 1136 ['OS=="linux" and v8_enable_backtrace==1', {
1134 # Support for backtrace_symbols. 1137 # Support for backtrace_symbols.
1135 'ldflags': [ '-rdynamic' ], 1138 'ldflags': [ '-rdynamic' ],
1136 }], 1139 }],
1140 ['OS=="linux" and disable_glibcxx_debug==0', {
1141 # Enable libstdc++ debugging facilities to help catch problems
1142 # early, see http://crbug.com/65151 .
1143 'defines': ['_GLIBCXX_DEBUG=1',],
1144 }],
1137 ['OS=="aix"', { 1145 ['OS=="aix"', {
1138 'ldflags': [ '-Wl,-bbigtoc' ], 1146 'ldflags': [ '-Wl,-bbigtoc' ],
1139 }], 1147 }],
1140 ['OS=="android"', { 1148 ['OS=="android"', {
1141 'variables': { 1149 'variables': {
1142 'android_full_debug%': 1, 1150 'android_full_debug%': 1,
1143 }, 1151 },
1144 'conditions': [ 1152 'conditions': [
1145 ['android_full_debug==0', { 1153 ['android_full_debug==0', {
1146 # Disable full debug if we want a faster v8 in a debug build. 1154 # Disable full debug if we want a faster v8 in a debug build.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 ['v8_enable_slow_dchecks==1', { 1263 ['v8_enable_slow_dchecks==1', {
1256 'defines': [ 1264 'defines': [
1257 'ENABLE_SLOW_DCHECKS', 1265 'ENABLE_SLOW_DCHECKS',
1258 ], 1266 ],
1259 }], 1267 }],
1260 ], # conditions 1268 ], # conditions
1261 }, # Release 1269 }, # Release
1262 }, # configurations 1270 }, # configurations
1263 }, # target_defaults 1271 }, # target_defaults
1264 } 1272 }
OLDNEW
« no previous file with comments | « build/standalone.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698