blob: 4a9e7b87a2a6bf578ba8458c92182966d3f03d7a [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,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000044 },
45 'build_with_chromium%': '<(build_with_chromium)',
fischman@webrtc.orgf61e02c2013-02-20 23:13:46 +000046 'build_with_libjingle%': '<(build_with_libjingle)',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000047 'webrtc_root%': '<(webrtc_root)',
kjellander@webrtc.org0372b932014-09-03 14:34:46 +000048 'apk_tests_path%': '<(apk_tests_path)',
henrike@webrtc.orga2073af2013-07-08 18:14:58 +000049 'modules_java_gyp_path%': '<(modules_java_gyp_path)',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000050 'webrtc_vp8_dir%': '<(webrtc_vp8_dir)',
marpan@webrtc.org5b883172014-11-01 06:10:48 +000051 'webrtc_vp9_dir%': '<(webrtc_vp9_dir)',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000052 'include_opus%': '<(include_opus)',
henrike@webrtc.orgd72a7592014-09-02 15:41:12 +000053 'rtc_relative_path%': 1,
henrike@webrtc.org9f36c082014-06-16 21:35:20 +000054 'external_libraries%': '0',
55 'json_root%': '<(DEPTH)/third_party/jsoncpp/source/include/',
56 # openssl needs to be defined or gyp will complain. Is is only used when
57 # when providing external libraries so just use current directory as a
58 # placeholder.
59 'ssl_root%': '.',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000060
61 # The Chromium common.gypi we use treats all gyp files without
62 # chromium_code==1 as third party code. This disables many of the
63 # preferred warning settings.
64 #
65 # We can set this here to have WebRTC code treated as Chromium code. Our
66 # third party code will still have the reduced warning settings.
67 'chromium_code': 1,
68
kjellander@webrtc.org0aa04f92014-03-28 13:14:00 +000069 # Set to 1 to enable code coverage on Linux using the gcov library.
70 'coverage%': 0,
71
solenberg@webrtc.orgd6e46632013-10-30 16:06:26 +000072 # Remote bitrate estimator logging/plotting.
73 'enable_bwe_test_logging%': 0,
74
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000075 # Adds video support to dependencies shared by voice and video engine.
76 # This should normally be enabled; the intended use is to disable only
77 # when building voice engine exclusively.
78 'enable_video%': 1,
79
80 # Selects fixed-point code where possible.
81 'prefer_fixed_point%': 0,
82
83 # Enable data logging. Produces text files with data logged within engines
84 # which can be easily parsed for offline processing.
85 'enable_data_logging%': 0,
86
andrew@webrtc.orgf9825e52013-05-20 21:18:04 +000087 # Enables the use of protocol buffers for debug recordings.
88 'enable_protobuf%': 1,
89
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000090 # Disable these to not build components which can be externally provided.
henrike@webrtc.orga685c9d2014-06-17 14:48:44 +000091 'build_json%': 1,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000092 'build_libjpeg%': 1,
93 'build_libyuv%': 1,
94 'build_libvpx%': 1,
henrike@webrtc.orga685c9d2014-06-17 14:48:44 +000095 'build_ssl%': 1,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +000096
henrike@webrtc.orgf0488722014-05-13 18:00:26 +000097 # Disable by default
98 'have_dbus_glib%': 0,
99
tina.legrand@webrtc.org1f8c02a2012-10-25 12:37:08 +0000100 # Enable to use the Mozilla internal settings.
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000101 'build_with_mozilla%': 0,
102
103 'libyuv_dir%': '<(DEPTH)/third_party/libyuv',
104
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000105 # Define MIPS architecture variant, MIPS DSP variant and MIPS FPU
106 # This may be subject to change in accordance to Chromium's MIPS flags
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000107 'mips_dsp_rev%': 0,
108 'mips_fpu%' : 1,
henrika@webrtc.org45db7ee2015-01-12 14:27:23 +0000109
110 # Use Java based audio layer as default for Android.
111 # Change this setting to 1 to use Open SL audio instead.
112 # TODO(henrika): add support for Open SL ES.
113 'enable_android_opensl%': 0,
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000114
andrew@webrtc.orgaf7fdfc2014-08-29 17:41:13 +0000115 # Link-Time Optimizations
116 # Executes code generation at link-time instead of compile-time
117 # https://gcc.gnu.org/wiki/LinkTimeOptimization
118 'use_lto%': 0,
119
tpsiaki@google.com67eabc02014-09-10 18:06:47 +0000120 # Defer ssl perference to that specified through sslconfig.h instead of
121 # choosing openssl or nss directly. In practice, this can be used to
122 # enable schannel on windows.
123 'use_legacy_ssl_defaults%': 0,
124
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000125 'conditions': [
126 ['build_with_chromium==1', {
127 # Exclude pulse audio on Chromium since its prerequisites don't require
128 # pulse audio.
129 'include_pulse_audio%': 0,
130
131 # Exclude internal ADM since Chromium uses its own IO handling.
132 'include_internal_audio_device%': 0,
133
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000134 }, { # Settings for the standalone (not-in-Chromium) build.
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000135 # TODO(andrew): For now, disable the Chrome plugins, which causes a
136 # flood of chromium-style warnings. Investigate enabling them:
137 # http://code.google.com/p/webrtc/issues/detail?id=163
138 'clang_use_chrome_plugins%': 0,
139
henrike@webrtc.org42581542013-07-16 16:37:22 +0000140 'include_pulse_audio%': 1,
141 'include_internal_audio_device%': 1,
henrike@webrtc.org42581542013-07-16 16:37:22 +0000142 }],
143 ['build_with_libjingle==1', {
144 'include_tests%': 0,
andrew@webrtc.orgf1a48172013-11-07 23:47:26 +0000145 'restrict_webrtc_logging%': 1,
henrike@webrtc.org42581542013-07-16 16:37:22 +0000146 }, {
147 'include_tests%': 1,
andrew@webrtc.orgf1a48172013-11-07 23:47:26 +0000148 'restrict_webrtc_logging%': 0,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000149 }],
150 ['OS=="ios"', {
fischman@webrtc.orgd0f4c212013-08-20 22:16:55 +0000151 'build_libjpeg%': 0,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000152 'enable_protobuf%': 0,
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000153 }],
andrew@webrtc.org1090a6e2014-12-18 21:36:18 +0000154 ['target_arch=="arm" or target_arch=="arm64"', {
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000155 'prefer_fixed_point%': 1,
156 }],
andrew@webrtc.org34ac9562014-12-30 18:19:56 +0000157 ['OS!="ios" and (target_arch!="arm" or arm_version>=7) and target_arch!="mips64el"', {
andrew@webrtc.org4165f7a2014-10-08 18:01:27 +0000158 'rtc_use_openmax_dl%': 1,
159 }, {
160 'rtc_use_openmax_dl%': 0,
161 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000162 ], # conditions
163 },
164 'target_defaults': {
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000165 'conditions': [
andrew@webrtc.orgf1a48172013-11-07 23:47:26 +0000166 ['restrict_webrtc_logging==1', {
167 'defines': ['WEBRTC_RESTRICT_LOGGING',],
andrew@webrtc.orgc3e5d342012-11-23 19:30:59 +0000168 }],
tina.legrand@webrtc.org1f8c02a2012-10-25 12:37:08 +0000169 ['build_with_mozilla==1', {
170 'defines': [
171 # Changes settings for Mozilla build.
172 'WEBRTC_MOZILLA_BUILD',
173 ],
174 }],
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000175 ['have_dbus_glib==1', {
176 'defines': [
177 'HAVE_DBUS_GLIB',
178 ],
179 'cflags': [
180 '<!@(pkg-config --cflags dbus-glib-1)',
181 ],
182 }],
henrike@webrtc.orgd72a7592014-09-02 15:41:12 +0000183 ['rtc_relative_path==1', {
184 'defines': ['EXPAT_RELATIVE_PATH',],
185 }],
andrew@webrtc.orgde7c9e82013-12-09 16:23:00 +0000186 ['enable_video==1', {
187 'defines': ['WEBRTC_MODULE_UTILITY_VIDEO',],
188 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000189 ['build_with_chromium==1', {
190 'defines': [
191 # Changes settings for Chromium build.
192 'WEBRTC_CHROMIUM_BUILD',
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000193 'LOGGING_INSIDE_WEBRTC',
194 ],
195 'include_dirs': [
kjellander@webrtc.orgf2ec8142015-01-30 14:54:36 +0000196 # Include the top-level directory when building in Chrome, so we can
197 # use full paths (e.g. headers inside testing/ or third_party/).
198 '<(DEPTH)',
199 # The overrides must be included before the WebRTC root as that's the
200 # mechanism for selecting the override headers in Chromium.
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000201 '../overrides',
kjellander@webrtc.orgf2ec8142015-01-30 14:54:36 +0000202 # The WebRTC root is needed to allow includes in the WebRTC code base
203 # to be prefixed with webrtc/.
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000204 '../..',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000205 ],
206 }, {
kjellander@webrtc.orgf2ec8142015-01-30 14:54:36 +0000207 # Include the top-level dir so the WebRTC code can use full paths.
208 'include_dirs': [
209 '../..',
210 ],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000211 'conditions': [
212 ['os_posix==1', {
andrew@webrtc.orga56a2c52014-11-26 17:01:40 +0000213 'configurations': {
henrike@webrtc.org2fe58932014-10-06 22:04:11 +0000214 'Debug_Base': {
215 'defines': [
216 # Chromium's build/common.gypi defines this for all posix
217 # _except_ for ios & mac. We want it there as well, e.g.
218 # because ASSERT and friends trigger off of it.
219 '_DEBUG',
220 ],
221 },
222 },
solenberg@webrtc.orgc6db88b2014-06-04 17:15:42 +0000223 'conditions': [
224 # -Wextra is currently disabled in Chromium's common.gypi. Enable
225 # for targets that can handle it. For Android/arm64 right now
226 # there will be an 'enumeral and non-enumeral type in conditional
227 # expression' warning in android_tools/ndk_experimental's version
228 # of stlport.
229 # See: https://code.google.com/p/chromium/issues/detail?id=379699
230 ['target_arch!="arm64" or OS!="android"', {
231 'cflags': [
232 '-Wextra',
233 # We need to repeat some flags from Chromium's common.gypi
234 # here that get overridden by -Wextra.
235 '-Wno-unused-parameter',
236 '-Wno-missing-field-initializers',
237 '-Wno-strict-overflow',
238 ],
239 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000240 ],
241 'cflags_cc': [
pbos@webrtc.orgb3cc78d2013-11-21 11:42:02 +0000242 '-Wnon-virtual-dtor',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000243 # This is enabled for clang; enable for gcc as well.
244 '-Woverloaded-virtual',
245 ],
246 }],
andresp@webrtc.org7fb75ec2013-12-20 20:20:50 +0000247 ['clang==1', {
248 'cflags': [
kjellander@webrtc.org7d2b6a92015-01-28 18:37:58 +0000249 '-Wimplicit-fallthrough',
andresp@webrtc.org7fb75ec2013-12-20 20:20:50 +0000250 '-Wthread-safety',
251 ],
252 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000253 ],
254 }],
tkchin@webrtc.org14146e42014-10-31 00:14:39 +0000255 ['target_arch=="arm64"', {
256 'defines': [
257 'WEBRTC_ARCH_ARM',
andrew@webrtc.orga56a2c52014-11-26 17:01:40 +0000258 # TODO(zhongwei) Defining an unique WEBRTC_NEON and
259 # distinguishing ARMv7 NEON and ARM64 NEON by
260 # WEBRTC_ARCH_ARM_V7 and WEBRTC_ARCH_ARM64 should be better.
261
262 # This macro is used to distinguish ARMv7 NEON and ARM64 NEON
263 'WEBRTC_ARCH_ARM64_NEON',
tkchin@webrtc.org14146e42014-10-31 00:14:39 +0000264 ],
265 }],
andrew@webrtc.org1090a6e2014-12-18 21:36:18 +0000266 ['target_arch=="arm"', {
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000267 'defines': [
268 'WEBRTC_ARCH_ARM',
269 ],
270 'conditions': [
andrew@webrtc.orga56a2c52014-11-26 17:01:40 +0000271 ['arm_version>=7', {
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000272 'defines': ['WEBRTC_ARCH_ARM_V7',],
273 'conditions': [
274 ['arm_neon==1', {
275 'defines': ['WEBRTC_ARCH_ARM_NEON',],
andrew@webrtc.orga56a2c52014-11-26 17:01:40 +0000276 }],
277 ['arm_neon==0 and OS=="android"', {
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000278 'defines': ['WEBRTC_DETECT_ARM_NEON',],
279 }],
280 ],
281 }],
282 ],
283 }],
andrew@webrtc.org11533222014-11-21 16:28:32 +0000284 ['target_arch=="mipsel" and mips_arch_variant!="r6" and android_webview_build==0', {
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000285 'defines': [
286 'MIPS32_LE',
287 ],
288 'conditions': [
289 ['mips_fpu==1', {
290 'defines': [
291 'MIPS_FPU_LE',
292 ],
293 'cflags': [
294 '-mhard-float',
295 ],
296 }, {
297 'cflags': [
298 '-msoft-float',
299 ],
300 }],
andrew@webrtc.orgd05756f2014-09-30 15:53:24 +0000301 ['mips_arch_variant=="r2"', {
andrew@webrtc.org5140e242013-02-21 20:12:21 +0000302 'defines': [
303 'MIPS32_R2_LE',
304 ],
305 'cflags': [
306 '-mips32r2',
307 ],
308 'cflags_cc': [
309 '-mips32r2',
310 ],
311 }],
312 ['mips_dsp_rev==1', {
313 'defines': [
314 'MIPS_DSP_R1_LE',
315 ],
316 'cflags': [
317 '-mdsp',
318 ],
319 'cflags_cc': [
320 '-mdsp',
321 ],
322 }],
323 ['mips_dsp_rev==2', {
324 'defines': [
325 'MIPS_DSP_R1_LE',
326 'MIPS_DSP_R2_LE',
327 ],
328 'cflags': [
329 '-mdspr2',
330 ],
331 'cflags_cc': [
332 '-mdspr2',
333 ],
334 }],
335 ],
336 }],
kjellander@webrtc.org0aa04f92014-03-28 13:14:00 +0000337 ['coverage==1 and OS=="linux"', {
338 'cflags': [ '-ftest-coverage',
339 '-fprofile-arcs' ],
340 'link_settings': { 'libraries': [ '-lgcov' ] },
341 }],
henrike@webrtc.orgcc08e3f2014-03-07 15:30:21 +0000342 ['os_posix==1', {
343 # For access to standard POSIXish features, use WEBRTC_POSIX instead of
344 # a more specific macro.
345 'defines': [
346 'WEBRTC_POSIX',
347 ],
348 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000349 ['OS=="ios"', {
350 'defines': [
351 'WEBRTC_MAC',
352 'WEBRTC_IOS',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000353 ],
354 }],
355 ['OS=="linux"', {
356 'defines': [
357 'WEBRTC_LINUX',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000358 ],
359 }],
360 ['OS=="mac"', {
361 'defines': [
362 'WEBRTC_MAC',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000363 ],
364 }],
365 ['OS=="win"', {
366 'defines': [
367 'WEBRTC_WIN',
368 ],
369 # TODO(andrew): enable all warnings when possible.
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +0000370 # TODO(phoglund): get rid of 4373 supression when
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000371 # http://code.google.com/p/webrtc/issues/detail?id=261 is solved.
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +0000372 'msvs_disabled_warnings': [
373 4373, # legacy warning for ignoring const / volatile in signatures.
374 4389, # Signed/unsigned mismatch.
375 ],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000376 # Re-enable some warnings that Chromium disables.
377 'msvs_disabled_warnings!': [4189,],
378 }],
379 ['OS=="android"', {
380 'defines': [
381 'WEBRTC_LINUX',
382 'WEBRTC_ANDROID',
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000383 ],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000384 'conditions': [
385 ['enable_android_opensl==1', {
386 'defines': [
387 'WEBRTC_ANDROID_OPENSLES',
388 ],
389 }],
wjia@webrtc.orgb1193692013-01-12 01:52:07 +0000390 ['clang!=1', {
391 # The Android NDK doesn't provide optimized versions of these
392 # functions. Ensure they are disabled for all compilers.
393 'cflags': [
394 '-fno-builtin-cos',
395 '-fno-builtin-sin',
396 '-fno-builtin-cosf',
397 '-fno-builtin-sinf',
398 ],
399 }],
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000400 ],
401 }],
402 ], # conditions
sergeyu@chromium.org6ebfd342013-05-22 18:22:21 +0000403 'direct_dependent_settings': {
sergeyu@chromium.org6ebfd342013-05-22 18:22:21 +0000404 'conditions': [
405 ['build_with_mozilla==1', {
406 'defines': [
407 # Changes settings for Mozilla build.
408 'WEBRTC_MOZILLA_BUILD',
409 ],
410 }],
411 ['build_with_chromium==1', {
412 'defines': [
413 # Changes settings for Chromium build.
414 'WEBRTC_CHROMIUM_BUILD',
415 ],
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000416 'include_dirs': [
417 # overrides must be included first as that is the mechanism for
418 # selecting the override headers in Chromium.
419 '../overrides',
420 '../..',
421 ],
422 }, {
423 'include_dirs': [
424 '../..',
425 ],
sergeyu@chromium.org6ebfd342013-05-22 18:22:21 +0000426 }],
427 ['OS=="mac"', {
428 'defines': [
429 'WEBRTC_MAC',
430 ],
431 }],
432 ['OS=="ios"', {
433 'defines': [
434 'WEBRTC_MAC',
435 'WEBRTC_IOS',
436 ],
437 }],
438 ['OS=="win"', {
439 'defines': [
440 'WEBRTC_WIN',
441 ],
442 }],
443 ['OS=="linux"', {
444 'defines': [
445 'WEBRTC_LINUX',
446 ],
447 }],
448 ['OS=="android"', {
449 'defines': [
450 'WEBRTC_LINUX',
451 'WEBRTC_ANDROID',
452 ],
453 'conditions': [
454 ['enable_android_opensl==1', {
455 'defines': [
456 'WEBRTC_ANDROID_OPENSLES',
457 ],
458 }]
459 ],
460 }],
henrike@webrtc.orgf0488722014-05-13 18:00:26 +0000461 ['os_posix==1', {
462 # For access to standard POSIXish features, use WEBRTC_POSIX instead
463 # of a more specific macro.
464 'defines': [
465 'WEBRTC_POSIX',
466 ],
467 }],
sergeyu@chromium.org6ebfd342013-05-22 18:22:21 +0000468 ],
469 },
andrew@webrtc.org14b43be2012-10-22 18:19:23 +0000470 }, # target_defaults
471}
472