blob: 351e10f2f75cce83248537ca23e94467398bb13e [file] [log] [blame]
henrike@webrtc.orge1b98802014-01-21 15:54:56 +00001{
2 'variables': {
kjellander@webrtc.org31d45192014-06-21 19:30:29 +00003 'variables': {
4 'webrtc_root%': '<(DEPTH)/webrtc',
5 },
6 'webrtc_root%': '<(webrtc_root)',
henrike@webrtc.orge1b98802014-01-21 15:54:56 +00007 'build_with_chromium': 0,
kjellander@webrtc.orgad4cce62014-04-29 09:36:40 +00008 'use_sanitizer_options': 0,
kjellander@webrtc.org31d45192014-06-21 19:30:29 +00009 },
10 'target_defaults': {
11 'conditions': [
12 # Add default sanitizer options similar to Chromium. This cannot be
13 # put in webrtc/build/common.gypi since that file is not included by
14 # third party code (yasm will throw leak errors during compile when
15 # GYP_DEFINES="asan=1".
16 ['OS=="linux" and (chromeos==0 or target_arch!="ia32")', {
17 'dependencies': [
18 '<(webrtc_root)/sanitizer_options.gyp:sanitizer_options',
19 ],
20 }],
21 ],
22 },
henrike@webrtc.orge1b98802014-01-21 15:54:56 +000023}