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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 # Determines whether NEON code will be built. | 124 # Determines whether NEON code will be built. |
125 'build_with_neon%': 0, | 125 'build_with_neon%': 0, |
126 | 126 |
127 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. | 127 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. |
128 # Enabling this may break interop with Android clients that support H264. | 128 # Enabling this may break interop with Android clients that support H.264. |
129 'use_objc_h264%': 0, | 129 'use_objc_h264%': 0, |
130 | 130 |
| 131 # Enable this to build OpenH264 SW H.264 encoder/decoder. |
| 132 # CHECK THE OPENH264 LICENCE BEFORE BUILDING, YOU MAY LIABLE TO PAY |
| 133 # LICENSING. |
| 134 'use_openh264%': 0, |
| 135 |
131 'conditions': [ | 136 'conditions': [ |
132 ['build_with_chromium==1', { | 137 ['build_with_chromium==1', { |
133 # Exclude pulse audio on Chromium since its prerequisites don't require | 138 # Exclude pulse audio on Chromium since its prerequisites don't require |
134 # pulse audio. | 139 # pulse audio. |
135 'include_pulse_audio%': 0, | 140 'include_pulse_audio%': 0, |
136 | 141 |
137 # Exclude internal ADM since Chromium uses its own IO handling. | 142 # Exclude internal ADM since Chromium uses its own IO handling. |
138 'include_internal_audio_device%': 0, | 143 'include_internal_audio_device%': 0, |
139 }, { # Settings for the standalone (not-in-Chromium) build. | 144 }, { # Settings for the standalone (not-in-Chromium) build. |
140 # TODO(andrew): For now, disable the Chrome plugins, which causes a | 145 # TODO(andrew): For now, disable the Chrome plugins, which causes a |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 'defines': [ | 340 'defines': [ |
336 'WEBRTC_MAC', | 341 'WEBRTC_MAC', |
337 'WEBRTC_IOS', | 342 'WEBRTC_IOS', |
338 ], | 343 ], |
339 }], | 344 }], |
340 ['OS=="ios" and use_objc_h264==1', { | 345 ['OS=="ios" and use_objc_h264==1', { |
341 'defines': [ | 346 'defines': [ |
342 'WEBRTC_OBJC_H264', | 347 'WEBRTC_OBJC_H264', |
343 ], | 348 ], |
344 }], | 349 }], |
| 350 ['use_openh264==1', { |
| 351 'defines': [ |
| 352 'WEBRTC_OPENH264', |
| 353 ], |
| 354 }], |
345 ['OS=="linux"', { | 355 ['OS=="linux"', { |
346 'defines': [ | 356 'defines': [ |
347 'WEBRTC_LINUX', | 357 'WEBRTC_LINUX', |
348 ], | 358 ], |
349 }], | 359 }], |
350 ['OS=="mac"', { | 360 ['OS=="mac"', { |
351 'defines': [ | 361 'defines': [ |
352 'WEBRTC_MAC', | 362 'WEBRTC_MAC', |
353 ], | 363 ], |
354 }], | 364 }], |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 # of a more specific macro. | 456 # of a more specific macro. |
447 'defines': [ | 457 'defines': [ |
448 'WEBRTC_POSIX', | 458 'WEBRTC_POSIX', |
449 ], | 459 ], |
450 }], | 460 }], |
451 ], | 461 ], |
452 }, | 462 }, |
453 }, # target_defaults | 463 }, # target_defaults |
454 } | 464 } |
455 | 465 |
OLD | NEW |