2014-01-21 15:54:56 +00:00
|
|
|
{
|
|
|
|
|
'variables': {
|
2014-06-21 19:30:29 +00:00
|
|
|
'variables': {
|
|
|
|
|
'webrtc_root%': '<(DEPTH)/webrtc',
|
2016-02-26 03:21:14 -08:00
|
|
|
# Override the defaults in Chromium's build/common.gypi.
|
2015-11-25 08:35:03 +01:00
|
|
|
# Needed for ARC and libc++.
|
2016-02-26 03:21:14 -08:00
|
|
|
'mac_sdk_min%': '10.11',
|
2015-11-25 08:35:03 +01:00
|
|
|
'mac_deployment_target%': '10.7',
|
2014-06-21 19:30:29 +00:00
|
|
|
},
|
|
|
|
|
'webrtc_root%': '<(webrtc_root)',
|
2015-11-25 08:35:03 +01:00
|
|
|
'mac_deployment_target%': '<(mac_deployment_target)',
|
2015-11-25 13:20:05 -08:00
|
|
|
'use_sysroot%': '<(use_sysroot)',
|
2014-01-21 15:54:56 +00:00
|
|
|
'build_with_chromium': 0,
|
2015-04-15 12:09:19 -07:00
|
|
|
'conditions': [
|
|
|
|
|
['OS=="ios"', {
|
2015-04-16 09:24:30 +02:00
|
|
|
# Set target_subarch for if not already set. This is needed because the
|
|
|
|
|
# Chromium iOS toolchain relies on target_subarch being set.
|
|
|
|
|
'conditions': [
|
|
|
|
|
['target_arch=="arm" or target_arch=="ia32"', {
|
|
|
|
|
'target_subarch%': 'arm32',
|
|
|
|
|
}],
|
|
|
|
|
['target_arch=="arm64" or target_arch=="x64"', {
|
|
|
|
|
'target_subarch%': 'arm64',
|
|
|
|
|
}],
|
|
|
|
|
],
|
2015-04-15 12:09:19 -07:00
|
|
|
}],
|
|
|
|
|
],
|
2014-06-21 19:30:29 +00:00
|
|
|
},
|
|
|
|
|
'target_defaults': {
|
2014-08-25 14:16:32 +00:00
|
|
|
'target_conditions': [
|
|
|
|
|
['_target_name=="sanitizer_options"', {
|
|
|
|
|
'conditions': [
|
2015-02-18 10:37:51 +00:00
|
|
|
['lsan==1', {
|
|
|
|
|
# Replace Chromium's LSan suppressions with our own for WebRTC.
|
|
|
|
|
'sources/': [
|
|
|
|
|
['exclude', 'lsan_suppressions.cc'],
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
|
|
|
|
'<(webrtc_root)/build/sanitizers/lsan_suppressions_webrtc.cc',
|
|
|
|
|
],
|
|
|
|
|
}],
|
2014-08-25 14:16:32 +00:00
|
|
|
['tsan==1', {
|
|
|
|
|
# Replace Chromium's TSan v2 suppressions with our own for WebRTC.
|
|
|
|
|
'sources/': [
|
|
|
|
|
['exclude', 'tsan_suppressions.cc'],
|
|
|
|
|
],
|
|
|
|
|
'sources': [
|
2015-02-18 10:37:51 +00:00
|
|
|
'<(webrtc_root)/build/sanitizers/tsan_suppressions_webrtc.cc',
|
2014-08-25 14:16:32 +00:00
|
|
|
],
|
|
|
|
|
}],
|
2014-06-21 19:30:29 +00:00
|
|
|
],
|
|
|
|
|
}],
|
|
|
|
|
],
|
|
|
|
|
},
|
2014-01-21 15:54:56 +00:00
|
|
|
}
|