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

Side by Side Diff: build/standalone.gypi

Issue 361963003: Revert "Add msan build option." (r22109) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Makefile ('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 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 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 17 matching lines...) Expand all
28 # Definitions to be used when building stand-alone V8 binaries. 28 # Definitions to be used when building stand-alone V8 binaries.
29 29
30 { 30 {
31 # We need to include toolchain.gypi here for third-party sources that don't 31 # We need to include toolchain.gypi here for third-party sources that don't
32 # directly include it themselves. 32 # directly include it themselves.
33 'includes': ['toolchain.gypi'], 33 'includes': ['toolchain.gypi'],
34 'variables': { 34 'variables': {
35 'component%': 'static_library', 35 'component%': 'static_library',
36 'clang%': 0, 36 'clang%': 0,
37 'asan%': 0, 37 'asan%': 0,
38 'msan%': 0,
39 'visibility%': 'hidden', 38 'visibility%': 'hidden',
40 'v8_enable_backtrace%': 0, 39 'v8_enable_backtrace%': 0,
41 'v8_enable_i18n_support%': 1, 40 'v8_enable_i18n_support%': 1,
42 'v8_deprecation_warnings': 1, 41 'v8_deprecation_warnings': 1,
43 'msvs_multi_core_compile%': '1', 42 'msvs_multi_core_compile%': '1',
44 'mac_deployment_target%': '10.5', 43 'mac_deployment_target%': '10.5',
45 'variables': { 44 'variables': {
46 'variables': { 45 'variables': {
47 'variables': { 46 'variables': {
48 'conditions': [ 47 'conditions': [
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 '-w', # http://crbug.com/162783 178 '-w', # http://crbug.com/162783
180 ], 179 ],
181 'cflags_cc!': [ 180 'cflags_cc!': [
182 '-fomit-frame-pointer', 181 '-fomit-frame-pointer',
183 ], 182 ],
184 'ldflags': [ 183 'ldflags': [
185 '-fsanitize=address', 184 '-fsanitize=address',
186 ], 185 ],
187 }, 186 },
188 }], 187 }],
189 ['msan==1', {
190 'target_defaults': {
191 'cflags_cc+': [
192 '-fno-omit-frame-pointer',
193 '-fsanitize-memory-track-origins=2',
194 '-fsanitize=memory',
195 '-w', # http://crbug.com/162783
196 ],
197 'cflags_cc!': [
198 '-fomit-frame-pointer',
199 ],
200 'ldflags': [
201 '-fsanitize=memory',
202 ],
203 },
204 }],
205 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ 188 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
206 or OS=="netbsd"', { 189 or OS=="netbsd"', {
207 'target_defaults': { 190 'target_defaults': {
208 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', 191 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
209 '-Wno-long-long', '-pthread', '-fno-exceptions', 192 '-Wno-long-long', '-pthread', '-fno-exceptions',
210 '-pedantic' ], 193 '-pedantic' ],
211 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], 194 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ],
212 'ldflags': [ '-pthread', ], 195 'ldflags': [ '-pthread', ],
213 'conditions': [ 196 'conditions': [
214 [ 'OS=="linux"', { 197 [ 'OS=="linux"', {
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 ], 352 ],
370 'target_conditions': [ 353 'target_conditions': [
371 ['_type!="static_library"', { 354 ['_type!="static_library"', {
372 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 355 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
373 }], 356 }],
374 ], # target_conditions 357 ], # target_conditions
375 }, # target_defaults 358 }, # target_defaults
376 }], # OS=="mac" 359 }], # OS=="mac"
377 ], 360 ],
378 } 361 }
OLDNEW
« no previous file with comments | « Makefile ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698