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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 'use_lto%': 0, | 127 'use_lto%': 0, |
128 | 128 |
129 # Defer ssl perference to that specified through sslconfig.h instead of | 129 # Defer ssl perference to that specified through sslconfig.h instead of |
130 # choosing openssl or nss directly. In practice, this can be used to | 130 # choosing openssl or nss directly. In practice, this can be used to |
131 # enable schannel on windows. | 131 # enable schannel on windows. |
132 'use_legacy_ssl_defaults%': 0, | 132 'use_legacy_ssl_defaults%': 0, |
133 | 133 |
134 # Determines whether NEON code will be built. | 134 # Determines whether NEON code will be built. |
135 'build_with_neon%': 0, | 135 'build_with_neon%': 0, |
136 | 136 |
| 137 # Disable this to skip building source requiring GTK. |
| 138 'use_gtk%': 1, |
| 139 |
137 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. | 140 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. |
138 # Enabling this may break interop with Android clients that support H264. | 141 # Enabling this may break interop with Android clients that support H264. |
139 'use_objc_h264%': 0, | 142 'use_objc_h264%': 0, |
140 | 143 |
141 # Determines whether QUIC code will be built. | 144 # Determines whether QUIC code will be built. |
142 'use_quic%': 0, | 145 'use_quic%': 0, |
143 | 146 |
144 'conditions': [ | 147 'conditions': [ |
145 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported | 148 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported |
146 # on all platforms except Android and iOS. Because FFmpeg can be built | 149 # on all platforms except Android and iOS. Because FFmpeg can be built |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 # TODO(andrew): For now, disable the Chrome plugins, which causes a | 189 # TODO(andrew): For now, disable the Chrome plugins, which causes a |
187 # flood of chromium-style warnings. Investigate enabling them: | 190 # flood of chromium-style warnings. Investigate enabling them: |
188 # http://code.google.com/p/webrtc/issues/detail?id=163 | 191 # http://code.google.com/p/webrtc/issues/detail?id=163 |
189 'clang_use_chrome_plugins%': 0, | 192 'clang_use_chrome_plugins%': 0, |
190 | 193 |
191 'include_pulse_audio%': 1, | 194 'include_pulse_audio%': 1, |
192 'include_internal_audio_device%': 1, | 195 'include_internal_audio_device%': 1, |
193 'include_tests%': 1, | 196 'include_tests%': 1, |
194 'restrict_webrtc_logging%': 0, | 197 'restrict_webrtc_logging%': 0, |
195 }], | 198 }], |
| 199 ['OS=="android" or OS=="linux"', { |
| 200 'java_home%': '<!(python -c "import os; dir=os.getenv(\'JAVA_HOME\', \'/
usr/lib/jvm/java-7-openjdk-amd64\'); assert os.path.exists(os.path.join(dir, \'i
nclude/jni.h\')), \'Point \\$JAVA_HOME or the java_home gyp variable to a direct
ory containing include/jni.h!\'; print dir")', |
| 201 }], |
196 ['OS=="ios"', { | 202 ['OS=="ios"', { |
197 'build_libjpeg%': 0, | 203 'build_libjpeg%': 0, |
198 }], | 204 }], |
199 ['target_arch=="arm" or target_arch=="arm64"', { | 205 ['target_arch=="arm" or target_arch=="arm64"', { |
200 'prefer_fixed_point%': 1, | 206 'prefer_fixed_point%': 1, |
201 }], | 207 }], |
202 ['(target_arch=="arm" and (arm_neon==1 or arm_neon_optional==1)) or target
_arch=="arm64"', { | 208 ['(target_arch=="arm" and (arm_neon==1 or arm_neon_optional==1)) or target
_arch=="arm64"', { |
203 'build_with_neon%': 1, | 209 'build_with_neon%': 1, |
204 }], | 210 }], |
205 ['OS!="ios" and (target_arch!="arm" or arm_version>=7) and target_arch!="m
ips64el"', { | 211 ['OS!="ios" and (target_arch!="arm" or arm_version>=7) and target_arch!="m
ips64el"', { |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 # of a more specific macro. | 492 # of a more specific macro. |
487 'defines': [ | 493 'defines': [ |
488 'WEBRTC_POSIX', | 494 'WEBRTC_POSIX', |
489 ], | 495 ], |
490 }], | 496 }], |
491 ], | 497 ], |
492 }, | 498 }, |
493 }, # target_defaults | 499 }, # target_defaults |
494 } | 500 } |
495 | 501 |
OLD | NEW |