webrtc_m130/webrtc/supplement.gypi
kjellander@webrtc.org 767d98ebff TSan: Move suppressions to source file.
Chromium has deprecated text-file based suppressions for
TSan (v2) and is about to remove the support for it in the
test toolchain in https://codereview.chromium.org/357673002/

This CL moves our suppressions to a source file (based on the
Chromium copy).
It also moves the sanitizer_options.gyp into webrtc/build.

BUG=chromium:302040
TEST=Locally executing all the standalone tests under TSan v2.
R=niklas.enbom@webrtc.org, pbos@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/14759004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6552 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-27 09:18:51 +00:00

24 lines
687 B
Python

{
'variables': {
'variables': {
'webrtc_root%': '<(DEPTH)/webrtc',
},
'webrtc_root%': '<(webrtc_root)',
'build_with_chromium': 0,
'use_sanitizer_options': 0,
},
'target_defaults': {
'conditions': [
# Add default sanitizer options similar to Chromium. This cannot be
# put in webrtc/build/common.gypi since that file is not included by
# third party code (yasm will throw leak errors during compile when
# GYP_DEFINES="asan=1".
['OS=="linux" and (chromeos==0 or target_arch!="ia32")', {
'dependencies': [
'<(webrtc_root)/build/sanitizer_options.gyp:sanitizer_options',
],
}],
],
},
}