blob: 05e1ba3ec2c2444fa8e04020410128c798dca0a8 [file] [log] [blame]
andrew@webrtc.org14b43be2012-10-22 18:19:23 +00001# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9# This file contains common settings for building WebRTC components.
10
11{
12 # Nesting is required in order to use variables for setting other variables.
13 'variables': {
14 'variables': {
15 'variables': {
16 'variables': {
henrike@webrtc.org7ef7df52014-01-21 15:54:56 +000017 # This will already be set to zero by supplement.gypi
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000018 'build_with_chromium%': 1,
19 },
20 'build_with_chromium%': '<(build_with_chromium)',
21
22 'conditions': [
henrike@webrtc.org42581542013-07-16 16:37:22 +000023 ['build_with_chromium==1', {
24 'build_with_libjingle': 1,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000025 'webrtc_root%': '<(DEPTH)/third_party/webrtc',
kjellander@webrtc.org0372b932014-09-03 14:34:46 +000026 'apk_tests_path%': '<(DEPTH)/third_party/webrtc/build/apk_tests_noop.gyp',
henrike@webrtc.orga2073af2013-07-08 18:14:58 +000027 'modules_java_gyp_path%': '<(DEPTH)/third_party/webrtc/modules/modules_java_chromium.gyp',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000028 }, {
henrike@webrtc.org42581542013-07-16 16:37:22 +000029 'build_with_libjingle%': 0,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000030 'webrtc_root%': '<(DEPTH)/webrtc',
kjellander@webrtc.org0372b932014-09-03 14:34:46 +000031 'apk_tests_path%': '<(DEPTH)/webrtc/build/apk_tests.gyp',
henrike@webrtc.orga2073af2013-07-08 18:14:58 +000032 'modules_java_gyp_path%': '<(DEPTH)/webrtc/modules/modules_java.gyp',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000033 }],
34 ],
35 },
36 'build_with_chromium%': '<(build_with_chromium)',
fischman@webrtc.orgf61e02c2013-02-20 23:13:46 +000037 'build_with_libjingle%': '<(build_with_libjingle)',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000038 'webrtc_root%': '<(webrtc_root)',
kjellander@webrtc.org0372b932014-09-03 14:34:46 +000039 'apk_tests_path%': '<(apk_tests_path)',
henrike@webrtc.orga2073af2013-07-08 18:14:58 +000040 'modules_java_gyp_path%': '<(modules_java_gyp_path)',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000041 'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8',
marpan@webrtc.org5b883172014-11-01 06:10:48 +000042 'webrtc_vp9_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp9',
leozwang@webrtc.org6f19b1b2012-10-27 17:46:55 +000043 'include_opus%': 1,
kjellander@webrtc.org2b69eab2015-02-09 10:01:17 +000044 'opus_dir%': '<(DEPTH)/third_party/opus',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000045 },
46 'build_with_chromium%': '<(build_with_chromium)',
fischman@webrtc.orgf61e02c2013-02-20 23:13:46 +000047 'build_with_libjingle%': '<(build_with_libjingle)',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000048 'webrtc_root%': '<(webrtc_root)',
kjellander@webrtc.org0372b932014-09-03 14:34:46 +000049 'apk_tests_path%': '<(apk_tests_path)',
henrike@webrtc.orga2073af2013-07-08 18:14:58 +000050 'modules_java_gyp_path%': '<(modules_java_gyp_path)',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000051 'webrtc_vp8_dir%': '<(webrtc_vp8_dir)',
marpan@webrtc.org5b883172014-11-01 06:10:48 +000052 'webrtc_vp9_dir%': '<(webrtc_vp9_dir)',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000053 'include_opus%': '<(include_opus)',
henrike@webrtc.orgd72a7592014-09-02 15:41:12 +000054 'rtc_relative_path%': 1,
henrike@webrtc.org9f36c082014-06-16 21:35:20 +000055 'external_libraries%': '0',
56 'json_root%': '<(DEPTH)/third_party/jsoncpp/source/include/',
57 # openssl needs to be defined or gyp will complain. Is is only used when
58 # when providing external libraries so just use current directory as a
59 # placeholder.
60 'ssl_root%': '.',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000061
62 # The Chromium common.gypi we use treats all gyp files without
63 # chromium_code==1 as third party code. This disables many of the
64 # preferred warning settings.
65 #
66 # We can set this here to have WebRTC code treated as Chromium code. Our
67 # third party code will still have the reduced warning settings.
68 'chromium_code': 1,
69
kjellander@webrtc.org0aa04f92014-03-28 13:14:00 +000070 # Set to 1 to enable code coverage on Linux using the gcov library.
71 'coverage%': 0,
72
solenberg@webrtc.orgd6e46632013-10-30 16:06:26 +000073 # Remote bitrate estimator logging/plotting.
74 'enable_bwe_test_logging%': 0,
75
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000076 # Selects fixed-point code where possible.
77 'prefer_fixed_point%': 0,
78
79 # Enable data logging. Produces text files with data logged within engines
80 # which can be easily parsed for offline processing.
81 'enable_data_logging%': 0,
82
andrew@webrtc.orgf9825e52013-05-20 21:18:04 +000083 # Enables the use of protocol buffers for debug recordings.
84 'enable_protobuf%': 1,
85
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000086 # Disable these to not build components which can be externally provided.
henrike@webrtc.orga685c9d2014-06-17 14:48:44 +000087 'build_json%': 1,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000088 'build_libjpeg%': 1,
89 'build_libyuv%': 1,
90 'build_libvpx%': 1,
kjellander@webrtc.org2b69eab2015-02-09 10:01:17 +000091 'build_vp9%': 1,
henrike@webrtc.orga685c9d2014-06-17 14:48:44 +000092 'build_ssl%': 1,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000093
henrike@webrtc.orgf0488722014-05-13 18:00:26 +000094 # Disable by default
95 'have_dbus_glib%': 0,
96
tina.legrand@webrtc.org1f8c02a2012-10-25 12:37:08 +000097 # Enable to use the Mozilla internal settings.
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000098 'build_with_mozilla%': 0,
99
kjellander@webrtc.org2b69eab2015-02-09 10:01:17 +0000100 # Make it possible to provide custom locations for some libraries.
101 'libvpx_dir%': '<(DEPTH)/third_party/libvpx',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000102 'libyuv_dir%': '<(DEPTH)/third_party/libyuv',
kjellander@webrtc.org2b69eab2015-02-09 10:01:17 +0000103 'opus_dir%': '<(opus_dir)',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000104
henrika@webrtc.org45db7ee2015-01-12 14:27:23 +0000105 # Use Java based audio layer as default for Android.
106 # Change this setting to 1 to use Open SL audio instead.
107 # TODO(henrika): add support for Open SL ES.
108 'enable_android_opensl%': 0,
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000109
andrew@webrtc.orgaf7fdfc2014-08-29 17:41:13 +0000110 # Link-Time Optimizations
111 # Executes code generation at link-time instead of compile-time
112 # https://gcc.gnu.org/wiki/LinkTimeOptimization
113 'use_lto%': 0,
114
tpsiaki@google.com67eabc02014-09-10 18:06:47 +0000115 # Defer ssl perference to that specified through sslconfig.h instead of
116 # choosing openssl or nss directly. In practice, this can be used to
117 # enable schannel on windows.
118 'use_legacy_ssl_defaults%': 0,
119
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000120 'conditions': [
121 ['build_with_chromium==1', {
122 # Exclude pulse audio on Chromium since its prerequisites don't require
123 # pulse audio.
124 'include_pulse_audio%': 0,
125
126 # Exclude internal ADM since Chromium uses its own IO handling.
127 'include_internal_audio_device%': 0,
128
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000129 }, { # Settings for the standalone (not-in-Chromium) build.
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000130 # TODO(andrew): For now, disable the Chrome plugins, which causes a
131 # flood of chromium-style warnings. Investigate enabling them:
132 # http://code.google.com/p/webrtc/issues/detail?id=163
133 'clang_use_chrome_plugins%': 0,
134
henrike@webrtc.org42581542013-07-16 16:37:22 +0000135 'include_pulse_audio%': 1,
136 'include_internal_audio_device%': 1,
henrike@webrtc.org42581542013-07-16 16:37:22 +0000137 }],
138 ['build_with_libjingle==1', {
139 'include_tests%': 0,
andrew@webrtc.orgf1a48172013-11-07 23:47:26 +0000140 'restrict_webrtc_logging%': 1,
henrike@webrtc.org42581542013-07-16 16:37:22 +0000141 }, {
142 'include_tests%': 1,
andrew@webrtc.orgf1a48172013-11-07 23:47:26 +0000143 'restrict_webrtc_logging%': 0,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000144 }],
145 ['OS=="ios"', {
fischman@webrtc.orgd0f4c212013-08-20 22:16:55 +0000146 'build_libjpeg%': 0,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000147 'enable_protobuf%': 0,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000148 }],
andrew@webrtc.org1090a6e2014-12-18 21:36:18 +0000149 ['target_arch=="arm" or target_arch=="arm64"', {
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000150 'prefer_fixed_point%': 1,
151 }],
andrew@webrtc.org34ac9562014-12-30 18:19:56 +0000152 ['OS!="ios" and (target_arch!="arm" or arm_version>=7) and target_arch!="mips64el"', {
andrew@webrtc.org4165f7a2014-10-08 18:01:27 +0000153 'rtc_use_openmax_dl%': 1,
154 }, {
155 'rtc_use_openmax_dl%': 0,
156 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000157 ], # conditions
158 },
159 'target_defaults': {
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000160 'conditions': [
andrew@webrtc.orgf1a48172013-11-07 23:47:26 +0000161 ['restrict_webrtc_logging==1', {
162 'defines': ['WEBRTC_RESTRICT_LOGGING',],
andrew@webrtc.orgc3e5d342012-11-23 19:30:59 +0000163 }],
tina.legrand@webrtc.org1f8c02a2012-10-25 12:37:08 +0000164 ['build_with_mozilla==1', {
165 'defines': [
166 # Changes settings for Mozilla build.
167 'WEBRTC_MOZILLA_BUILD',
168 ],
169 }],
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000170 ['have_dbus_glib==1', {
171 'defines': [
172 'HAVE_DBUS_GLIB',
173 ],
174 'cflags': [
175 '<!@(pkg-config --cflags dbus-glib-1)',
176 ],
177 }],
henrike@webrtc.orgd72a7592014-09-02 15:41:12 +0000178 ['rtc_relative_path==1', {
179 'defines': ['EXPAT_RELATIVE_PATH',],
180 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000181 ['build_with_chromium==1', {
182 'defines': [
183 # Changes settings for Chromium build.
184 'WEBRTC_CHROMIUM_BUILD',
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000185 'LOGGING_INSIDE_WEBRTC',
186 ],
187 'include_dirs': [
kjellander@webrtc.orgf2ec8142015-01-30 14:54:36 +0000188 # Include the top-level directory when building in Chrome, so we can
189 # use full paths (e.g. headers inside testing/ or third_party/).
190 '<(DEPTH)',
191 # The overrides must be included before the WebRTC root as that's the
192 # mechanism for selecting the override headers in Chromium.
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000193 '../overrides',
kjellander@webrtc.orgf2ec8142015-01-30 14:54:36 +0000194 # The WebRTC root is needed to allow includes in the WebRTC code base
195 # to be prefixed with webrtc/.
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000196 '../..',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000197 ],
198 }, {
kjellander@webrtc.orgf2ec8142015-01-30 14:54:36 +0000199 # Include the top-level dir so the WebRTC code can use full paths.
200 'include_dirs': [
201 '../..',
202 ],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000203 'conditions': [
204 ['os_posix==1', {
andrew@webrtc.orga56a2c52014-11-26 17:01:40 +0000205 'configurations': {
henrike@webrtc.org2fe58932014-10-06 22:04:11 +0000206 'Debug_Base': {
207 'defines': [
208 # Chromium's build/common.gypi defines this for all posix
209 # _except_ for ios & mac. We want it there as well, e.g.
210 # because ASSERT and friends trigger off of it.
211 '_DEBUG',
212 ],
213 },
214 },
solenberg@webrtc.orgc6db88b2014-06-04 17:15:42 +0000215 'conditions': [
216 # -Wextra is currently disabled in Chromium's common.gypi. Enable
217 # for targets that can handle it. For Android/arm64 right now
218 # there will be an 'enumeral and non-enumeral type in conditional
219 # expression' warning in android_tools/ndk_experimental's version
220 # of stlport.
221 # See: https://code.google.com/p/chromium/issues/detail?id=379699
222 ['target_arch!="arm64" or OS!="android"', {
223 'cflags': [
224 '-Wextra',
225 # We need to repeat some flags from Chromium's common.gypi
226 # here that get overridden by -Wextra.
227 '-Wno-unused-parameter',
228 '-Wno-missing-field-initializers',
229 '-Wno-strict-overflow',
230 ],
231 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000232 ],
233 'cflags_cc': [
pbos@webrtc.orgb3cc78d2013-11-21 11:42:02 +0000234 '-Wnon-virtual-dtor',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000235 # This is enabled for clang; enable for gcc as well.
236 '-Woverloaded-virtual',
237 ],
238 }],
andresp@webrtc.org7fb75ec2013-12-20 20:20:50 +0000239 ['clang==1', {
240 'cflags': [
kjellander@webrtc.org7d2b6a92015-01-28 18:37:58 +0000241 '-Wimplicit-fallthrough',
andresp@webrtc.org7fb75ec2013-12-20 20:20:50 +0000242 '-Wthread-safety',
243 ],
244 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000245 ],
246 }],
tkchin@webrtc.org14146e42014-10-31 00:14:39 +0000247 ['target_arch=="arm64"', {
248 'defines': [
249 'WEBRTC_ARCH_ARM',
andrew@webrtc.orga56a2c52014-11-26 17:01:40 +0000250 # TODO(zhongwei) Defining an unique WEBRTC_NEON and
251 # distinguishing ARMv7 NEON and ARM64 NEON by
252 # WEBRTC_ARCH_ARM_V7 and WEBRTC_ARCH_ARM64 should be better.
253
254 # This macro is used to distinguish ARMv7 NEON and ARM64 NEON
255 'WEBRTC_ARCH_ARM64_NEON',
tkchin@webrtc.org14146e42014-10-31 00:14:39 +0000256 ],
257 }],
andrew@webrtc.org1090a6e2014-12-18 21:36:18 +0000258 ['target_arch=="arm"', {
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000259 'defines': [
260 'WEBRTC_ARCH_ARM',
261 ],
262 'conditions': [
andrew@webrtc.orga56a2c52014-11-26 17:01:40 +0000263 ['arm_version>=7', {
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000264 'defines': ['WEBRTC_ARCH_ARM_V7',],
265 'conditions': [
266 ['arm_neon==1', {
267 'defines': ['WEBRTC_ARCH_ARM_NEON',],
andrew@webrtc.orga56a2c52014-11-26 17:01:40 +0000268 }],
269 ['arm_neon==0 and OS=="android"', {
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000270 'defines': ['WEBRTC_DETECT_ARM_NEON',],
271 }],
272 ],
273 }],
274 ],
275 }],
andrew@webrtc.org11533222014-11-21 16:28:32 +0000276 ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', {
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000277 'defines': [
278 'MIPS32_LE',
279 ],
280 'conditions': [
kjellander@webrtc.org6dab6d72015-03-04 09:50:31 +0000281 ['mips_float_abi=="hard"', {
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000282 'defines': [
283 'MIPS_FPU_LE',
284 ],
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000285 }],
andrew@webrtc.orgd05756f2014-09-30 15:53:24 +0000286 ['mips_arch_variant=="r2"', {
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000287 'defines': [
288 'MIPS32_R2_LE',
289 ],
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000290 }],
291 ['mips_dsp_rev==1', {
292 'defines': [
293 'MIPS_DSP_R1_LE',
294 ],
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000295 }],
296 ['mips_dsp_rev==2', {
297 'defines': [
298 'MIPS_DSP_R1_LE',
299 'MIPS_DSP_R2_LE',
300 ],
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000301 }],
302 ],
303 }],
kjellander@webrtc.org0aa04f92014-03-28 13:14:00 +0000304 ['coverage==1 and OS=="linux"', {
305 'cflags': [ '-ftest-coverage',
306 '-fprofile-arcs' ],
307 'link_settings': { 'libraries': [ '-lgcov' ] },
308 }],
henrike@webrtc.orgcc08e3f2014-03-07 15:30:21 +0000309 ['os_posix==1', {
310 # For access to standard POSIXish features, use WEBRTC_POSIX instead of
311 # a more specific macro.
312 'defines': [
313 'WEBRTC_POSIX',
314 ],
315 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000316 ['OS=="ios"', {
317 'defines': [
318 'WEBRTC_MAC',
319 'WEBRTC_IOS',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000320 ],
321 }],
322 ['OS=="linux"', {
323 'defines': [
324 'WEBRTC_LINUX',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000325 ],
326 }],
327 ['OS=="mac"', {
328 'defines': [
329 'WEBRTC_MAC',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000330 ],
331 }],
332 ['OS=="win"', {
333 'defines': [
334 'WEBRTC_WIN',
335 ],
336 # TODO(andrew): enable all warnings when possible.
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +0000337 # TODO(phoglund): get rid of 4373 supression when
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000338 # http://code.google.com/p/webrtc/issues/detail?id=261 is solved.
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +0000339 'msvs_disabled_warnings': [
340 4373, # legacy warning for ignoring const / volatile in signatures.
341 4389, # Signed/unsigned mismatch.
342 ],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000343 # Re-enable some warnings that Chromium disables.
344 'msvs_disabled_warnings!': [4189,],
345 }],
346 ['OS=="android"', {
347 'defines': [
348 'WEBRTC_LINUX',
349 'WEBRTC_ANDROID',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000350 ],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000351 'conditions': [
352 ['enable_android_opensl==1', {
353 'defines': [
354 'WEBRTC_ANDROID_OPENSLES',
355 ],
356 }],
wjia@webrtc.orgb1193692013-01-12 01:52:07 +0000357 ['clang!=1', {
358 # The Android NDK doesn't provide optimized versions of these
359 # functions. Ensure they are disabled for all compilers.
360 'cflags': [
361 '-fno-builtin-cos',
362 '-fno-builtin-sin',
363 '-fno-builtin-cosf',
364 '-fno-builtin-sinf',
365 ],
366 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000367 ],
368 }],
369 ], # conditions
sergeyu@chromium.org6ebfd342013-05-22 18:22:21 +0000370 'direct_dependent_settings': {
sergeyu@chromium.org6ebfd342013-05-22 18:22:21 +0000371 'conditions': [
372 ['build_with_mozilla==1', {
373 'defines': [
374 # Changes settings for Mozilla build.
375 'WEBRTC_MOZILLA_BUILD',
376 ],
377 }],
378 ['build_with_chromium==1', {
379 'defines': [
380 # Changes settings for Chromium build.
381 'WEBRTC_CHROMIUM_BUILD',
382 ],
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000383 'include_dirs': [
384 # overrides must be included first as that is the mechanism for
385 # selecting the override headers in Chromium.
386 '../overrides',
387 '../..',
388 ],
389 }, {
390 'include_dirs': [
391 '../..',
392 ],
sergeyu@chromium.org6ebfd342013-05-22 18:22:21 +0000393 }],
394 ['OS=="mac"', {
395 'defines': [
396 'WEBRTC_MAC',
397 ],
398 }],
399 ['OS=="ios"', {
400 'defines': [
401 'WEBRTC_MAC',
402 'WEBRTC_IOS',
403 ],
404 }],
405 ['OS=="win"', {
406 'defines': [
407 'WEBRTC_WIN',
408 ],
409 }],
410 ['OS=="linux"', {
411 'defines': [
412 'WEBRTC_LINUX',
413 ],
414 }],
415 ['OS=="android"', {
416 'defines': [
417 'WEBRTC_LINUX',
418 'WEBRTC_ANDROID',
419 ],
420 'conditions': [
421 ['enable_android_opensl==1', {
422 'defines': [
423 'WEBRTC_ANDROID_OPENSLES',
424 ],
425 }]
426 ],
427 }],
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000428 ['os_posix==1', {
429 # For access to standard POSIXish features, use WEBRTC_POSIX instead
430 # of a more specific macro.
431 'defines': [
432 'WEBRTC_POSIX',
433 ],
434 }],
sergeyu@chromium.org6ebfd342013-05-22 18:22:21 +0000435 ],
436 },
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000437 }, # target_defaults
438}
439