OLD | NEW |
---|---|
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 # This file contains common settings for building WebRTC components. | 9 # This file contains common settings for building WebRTC components. |
10 | 10 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
114 # Link-Time Optimizations | 114 # Link-Time Optimizations |
115 # Executes code generation at link-time instead of compile-time | 115 # Executes code generation at link-time instead of compile-time |
116 # https://gcc.gnu.org/wiki/LinkTimeOptimization | 116 # https://gcc.gnu.org/wiki/LinkTimeOptimization |
117 'use_lto%': 0, | 117 'use_lto%': 0, |
118 | 118 |
119 # Defer ssl perference to that specified through sslconfig.h instead of | 119 # Defer ssl perference to that specified through sslconfig.h instead of |
120 # choosing openssl or nss directly. In practice, this can be used to | 120 # choosing openssl or nss directly. In practice, this can be used to |
121 # enable schannel on windows. | 121 # enable schannel on windows. |
122 'use_legacy_ssl_defaults%': 0, | 122 'use_legacy_ssl_defaults%': 0, |
123 | 123 |
124 # Enable this to use HW H.264 encoder/decoder on iOS PeerConnections. | |
125 # Enabling this may break interop with Android clients that support H264. | |
126 'rtc_use_objc_h264%': 0, | |
kjellander_webrtc
2015/06/25 07:16:03
Traditionally we've only used the 'rtc_' prefix fo
tkchin_webrtc
2015/06/25 18:13:53
Done.
| |
127 | |
124 'conditions': [ | 128 'conditions': [ |
125 ['build_with_chromium==1', { | 129 ['build_with_chromium==1', { |
126 # Exclude pulse audio on Chromium since its prerequisites don't require | 130 # Exclude pulse audio on Chromium since its prerequisites don't require |
127 # pulse audio. | 131 # pulse audio. |
128 'include_pulse_audio%': 0, | 132 'include_pulse_audio%': 0, |
129 | 133 |
130 # Exclude internal ADM since Chromium uses its own IO handling. | 134 # Exclude internal ADM since Chromium uses its own IO handling. |
131 'include_internal_audio_device%': 0, | 135 'include_internal_audio_device%': 0, |
132 }, { # Settings for the standalone (not-in-Chromium) build. | 136 }, { # Settings for the standalone (not-in-Chromium) build. |
133 # TODO(andrew): For now, disable the Chrome plugins, which causes a | 137 # TODO(andrew): For now, disable the Chrome plugins, which causes a |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
320 'defines': [ | 324 'defines': [ |
321 'WEBRTC_POSIX', | 325 'WEBRTC_POSIX', |
322 ], | 326 ], |
323 }], | 327 }], |
324 ['OS=="ios"', { | 328 ['OS=="ios"', { |
325 'defines': [ | 329 'defines': [ |
326 'WEBRTC_MAC', | 330 'WEBRTC_MAC', |
327 'WEBRTC_IOS', | 331 'WEBRTC_IOS', |
328 ], | 332 ], |
329 }], | 333 }], |
334 ['OS=="ios" and rtc_use_objc_h264==1', { | |
335 'defines': [ | |
336 'WEBRTC_OBJC_H264', | |
337 ], | |
338 }], | |
330 ['OS=="linux"', { | 339 ['OS=="linux"', { |
331 'defines': [ | 340 'defines': [ |
332 'WEBRTC_LINUX', | 341 'WEBRTC_LINUX', |
333 ], | 342 ], |
334 }], | 343 }], |
335 ['OS=="mac"', { | 344 ['OS=="mac"', { |
336 'defines': [ | 345 'defines': [ |
337 'WEBRTC_MAC', | 346 'WEBRTC_MAC', |
338 ], | 347 ], |
339 }], | 348 }], |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
431 # of a more specific macro. | 440 # of a more specific macro. |
432 'defines': [ | 441 'defines': [ |
433 'WEBRTC_POSIX', | 442 'WEBRTC_POSIX', |
434 ], | 443 ], |
435 }], | 444 }], |
436 ], | 445 ], |
437 }, | 446 }, |
438 }, # target_defaults | 447 }, # target_defaults |
439 } | 448 } |
440 | 449 |
OLD | NEW |