henrike@webrtc.org | 7ef7df5 | 2014-01-21 15:54:56 +0000 | [diff] [blame] | 1 | { |
| 2 | 'variables': { |
kjellander@webrtc.org | 27ab19d | 2014-06-21 19:30:29 +0000 | [diff] [blame] | 3 | 'variables': { |
| 4 | 'webrtc_root%': '<(DEPTH)/webrtc', |
| 5 | }, |
| 6 | 'webrtc_root%': '<(webrtc_root)', |
henrike@webrtc.org | 7ef7df5 | 2014-01-21 15:54:56 +0000 | [diff] [blame] | 7 | 'build_with_chromium': 0, |
Zeke Chin | 7d89f80 | 2015-04-15 12:09:19 -0700 | [diff] [blame] | 8 | 'conditions': [ |
| 9 | ['OS=="ios"', { |
| 10 | # Default to using BoringSSL on iOS. |
| 11 | 'use_openssl%': 1, |
Henrik Kjellander | 382c58d | 2015-04-16 09:24:30 +0200 | [diff] [blame^] | 12 | |
| 13 | # Set target_subarch for if not already set. This is needed because the |
| 14 | # Chromium iOS toolchain relies on target_subarch being set. |
| 15 | 'conditions': [ |
| 16 | ['target_arch=="arm" or target_arch=="ia32"', { |
| 17 | 'target_subarch%': 'arm32', |
| 18 | }], |
| 19 | ['target_arch=="arm64" or target_arch=="x64"', { |
| 20 | 'target_subarch%': 'arm64', |
| 21 | }], |
| 22 | ], |
Zeke Chin | 7d89f80 | 2015-04-15 12:09:19 -0700 | [diff] [blame] | 23 | }], |
| 24 | ], |
kjellander@webrtc.org | 27ab19d | 2014-06-21 19:30:29 +0000 | [diff] [blame] | 25 | }, |
| 26 | 'target_defaults': { |
kjellander@webrtc.org | c239234 | 2014-08-25 14:16:32 +0000 | [diff] [blame] | 27 | 'target_conditions': [ |
| 28 | ['_target_name=="sanitizer_options"', { |
| 29 | 'conditions': [ |
kjellander@webrtc.org | cc483b7 | 2015-02-18 10:37:51 +0000 | [diff] [blame] | 30 | ['lsan==1', { |
| 31 | # Replace Chromium's LSan suppressions with our own for WebRTC. |
| 32 | 'sources/': [ |
| 33 | ['exclude', 'lsan_suppressions.cc'], |
| 34 | ], |
| 35 | 'sources': [ |
| 36 | '<(webrtc_root)/build/sanitizers/lsan_suppressions_webrtc.cc', |
| 37 | ], |
| 38 | }], |
kjellander@webrtc.org | c239234 | 2014-08-25 14:16:32 +0000 | [diff] [blame] | 39 | ['tsan==1', { |
| 40 | # Replace Chromium's TSan v2 suppressions with our own for WebRTC. |
| 41 | 'sources/': [ |
| 42 | ['exclude', 'tsan_suppressions.cc'], |
| 43 | ], |
| 44 | 'sources': [ |
kjellander@webrtc.org | cc483b7 | 2015-02-18 10:37:51 +0000 | [diff] [blame] | 45 | '<(webrtc_root)/build/sanitizers/tsan_suppressions_webrtc.cc', |
kjellander@webrtc.org | c239234 | 2014-08-25 14:16:32 +0000 | [diff] [blame] | 46 | ], |
| 47 | }], |
kjellander@webrtc.org | 27ab19d | 2014-06-21 19:30:29 +0000 | [diff] [blame] | 48 | ], |
| 49 | }], |
| 50 | ], |
| 51 | }, |
henrike@webrtc.org | 7ef7df5 | 2014-01-21 15:54:56 +0000 | [diff] [blame] | 52 | } |