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

Side by Side Diff: build/standalone.gypi

Issue 412853002: Add tsan support to v8's gyp and test driver. (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 | « no previous file | tools/run-deopt-fuzzer.py » ('j') | 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 'tsan%': 0,
38 'visibility%': 'hidden', 39 'visibility%': 'hidden',
39 'v8_enable_backtrace%': 0, 40 'v8_enable_backtrace%': 0,
40 'v8_enable_i18n_support%': 1, 41 'v8_enable_i18n_support%': 1,
41 'v8_deprecation_warnings': 1, 42 'v8_deprecation_warnings': 1,
42 'msvs_multi_core_compile%': '1', 43 'msvs_multi_core_compile%': '1',
43 'mac_deployment_target%': '10.5', 44 'mac_deployment_target%': '10.5',
44 'variables': { 45 'variables': {
45 'variables': { 46 'variables': {
46 'variables': { 47 'variables': {
47 'conditions': [ 48 'conditions': [
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 '-w', # http://crbug.com/162783 180 '-w', # http://crbug.com/162783
180 ], 181 ],
181 'cflags_cc!': [ 182 'cflags_cc!': [
182 '-fomit-frame-pointer', 183 '-fomit-frame-pointer',
183 ], 184 ],
184 'ldflags': [ 185 'ldflags': [
185 '-fsanitize=address', 186 '-fsanitize=address',
186 ], 187 ],
187 }, 188 },
188 }], 189 }],
190 ['tsan==1', {
191 'target_defaults': {
192 'cflags+': [
193 '-fno-omit-frame-pointer',
194 '-gline-tables-only',
195 '-fsanitize=thread',
196 '-fPIC',
197 '-Wno-c++11-extensions',
198 ],
199 'cflags!': [
200 '-fomit-frame-pointer',
201 ],
202 'ldflags': [
203 '-fsanitize=thread',
204 '-pie',
205 ],
206 'defines': [
207 'THREAD_SANITIZER',
208 ],
209 },
210 }],
189 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ 211 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
190 or OS=="netbsd"', { 212 or OS=="netbsd"', {
191 'target_defaults': { 213 'target_defaults': {
192 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', 214 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
193 '-Wno-long-long', '-pthread', '-fno-exceptions', 215 '-Wno-long-long', '-pthread', '-fno-exceptions',
194 '-pedantic' ], 216 '-pedantic' ],
195 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], 217 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ],
196 'ldflags': [ '-pthread', ], 218 'ldflags': [ '-pthread', ],
197 'conditions': [ 219 'conditions': [
198 [ 'OS=="linux"', { 220 [ 'OS=="linux"', {
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 ], 375 ],
354 'target_conditions': [ 376 'target_conditions': [
355 ['_type!="static_library"', { 377 ['_type!="static_library"', {
356 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 378 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
357 }], 379 }],
358 ], # target_conditions 380 ], # target_conditions
359 }, # target_defaults 381 }, # target_defaults
360 }], # OS=="mac" 382 }], # OS=="mac"
361 ], 383 ],
362 } 384 }
OLDNEW
« no previous file with comments | « no previous file | tools/run-deopt-fuzzer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698