OLD | NEW |
| (Empty) |
1 { | |
2 'variables': { | |
3 'variables': { | |
4 'webrtc_root%': '<(DEPTH)/webrtc', | |
5 # Override the defaults in Chromium's build/common.gypi. | |
6 # Needed for ARC and libc++. | |
7 'mac_sdk_min%': '10.11', | |
8 'mac_deployment_target%': '10.7', | |
9 }, | |
10 'webrtc_root%': '<(webrtc_root)', | |
11 'mac_deployment_target%': '<(mac_deployment_target)', | |
12 'use_sysroot%': '<(use_sysroot)', | |
13 'build_with_chromium': 0, | |
14 'conditions': [ | |
15 ['OS=="ios"', { | |
16 # Set target_subarch for if not already set. This is needed because the | |
17 # Chromium iOS toolchain relies on target_subarch being set. | |
18 'conditions': [ | |
19 ['target_arch=="arm" or target_arch=="ia32"', { | |
20 'target_subarch%': 'arm32', | |
21 }], | |
22 ['target_arch=="arm64" or target_arch=="x64"', { | |
23 'target_subarch%': 'arm64', | |
24 }], | |
25 ], | |
26 }], | |
27 ['OS=="android"', { | |
28 # MJPEG capture is not used on Android. Disable to reduce | |
29 # libjingle_peerconnection_so file size. | |
30 'libyuv_disable_jpeg%': 1, | |
31 }], | |
32 ], | |
33 }, | |
34 'target_defaults': { | |
35 'target_conditions': [ | |
36 ['_target_name=="sanitizer_options"', { | |
37 'conditions': [ | |
38 ['lsan==1', { | |
39 # Replace Chromium's LSan suppressions with our own for WebRTC. | |
40 'sources/': [ | |
41 ['exclude', 'lsan_suppressions.cc'], | |
42 ], | |
43 'sources': [ | |
44 '<(webrtc_root)/build/sanitizers/lsan_suppressions_webrtc.cc', | |
45 ], | |
46 }], | |
47 ['tsan==1', { | |
48 # Replace Chromium's TSan v2 suppressions with our own for WebRTC. | |
49 'sources/': [ | |
50 ['exclude', 'tsan_suppressions.cc'], | |
51 ], | |
52 'sources': [ | |
53 '<(webrtc_root)/build/sanitizers/tsan_suppressions_webrtc.cc', | |
54 ], | |
55 }], | |
56 ], | |
57 }], | |
58 ], | |
59 }, | |
60 } | |
OLD | NEW |