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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 'use_lto%': 0, | 126 'use_lto%': 0, |
127 | 127 |
128 # Defer ssl perference to that specified through sslconfig.h instead of | 128 # Defer ssl perference to that specified through sslconfig.h instead of |
129 # choosing openssl or nss directly. In practice, this can be used to | 129 # choosing openssl or nss directly. In practice, this can be used to |
130 # enable schannel on windows. | 130 # enable schannel on windows. |
131 'use_legacy_ssl_defaults%': 0, | 131 'use_legacy_ssl_defaults%': 0, |
132 | 132 |
133 # Determines whether NEON code will be built. | 133 # Determines whether NEON code will be built. |
134 'build_with_neon%': 0, | 134 'build_with_neon%': 0, |
135 | 135 |
| 136 # Disable this to skip building source requiring GTK. |
| 137 'use_gtk%': 1, |
| 138 |
136 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. | 139 # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. |
137 # Enabling this may break interop with Android clients that support H264. | 140 # Enabling this may break interop with Android clients that support H264. |
138 'use_objc_h264%': 0, | 141 'use_objc_h264%': 0, |
139 | 142 |
140 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported on | 143 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported on |
141 # all platforms except iOS. Because FFmpeg can be built with/without H.264 | 144 # all platforms except iOS. Because FFmpeg can be built with/without H.264 |
142 # support, |ffmpeg_branding| has to separately be set to a value that | 145 # support, |ffmpeg_branding| has to separately be set to a value that |
143 # includes H.264, for example "Chrome". If FFmpeg is built without H.264, | 146 # includes H.264, for example "Chrome". If FFmpeg is built without H.264, |
144 # compilation succeeds but |H264DecoderImpl| fails to initialize. | 147 # compilation succeeds but |H264DecoderImpl| fails to initialize. |
145 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. | 148 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. |
(...skipping 16 matching lines...) Expand all Loading... |
162 # TODO(andrew): For now, disable the Chrome plugins, which causes a | 165 # TODO(andrew): For now, disable the Chrome plugins, which causes a |
163 # flood of chromium-style warnings. Investigate enabling them: | 166 # flood of chromium-style warnings. Investigate enabling them: |
164 # http://code.google.com/p/webrtc/issues/detail?id=163 | 167 # http://code.google.com/p/webrtc/issues/detail?id=163 |
165 'clang_use_chrome_plugins%': 0, | 168 'clang_use_chrome_plugins%': 0, |
166 | 169 |
167 'include_pulse_audio%': 1, | 170 'include_pulse_audio%': 1, |
168 'include_internal_audio_device%': 1, | 171 'include_internal_audio_device%': 1, |
169 'include_tests%': 1, | 172 'include_tests%': 1, |
170 'restrict_webrtc_logging%': 0, | 173 'restrict_webrtc_logging%': 0, |
171 }], | 174 }], |
| 175 ['OS=="android" or OS=="linux"', { |
| 176 '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")', |
| 177 }], |
172 ['OS=="ios"', { | 178 ['OS=="ios"', { |
173 'build_libjpeg%': 0, | 179 'build_libjpeg%': 0, |
174 }], | 180 }], |
175 ['target_arch=="arm" or target_arch=="arm64"', { | 181 ['target_arch=="arm" or target_arch=="arm64"', { |
176 'prefer_fixed_point%': 1, | 182 'prefer_fixed_point%': 1, |
177 }], | 183 }], |
178 ['(target_arch=="arm" and (arm_neon==1 or arm_neon_optional==1)) or target
_arch=="arm64"', { | 184 ['(target_arch=="arm" and (arm_neon==1 or arm_neon_optional==1)) or target
_arch=="arm64"', { |
179 'build_with_neon%': 1, | 185 'build_with_neon%': 1, |
180 }], | 186 }], |
181 ['OS!="ios" and (target_arch!="arm" or arm_version>=7) and target_arch!="m
ips64el"', { | 187 ['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... |
462 # of a more specific macro. | 468 # of a more specific macro. |
463 'defines': [ | 469 'defines': [ |
464 'WEBRTC_POSIX', | 470 'WEBRTC_POSIX', |
465 ], | 471 ], |
466 }], | 472 }], |
467 ], | 473 ], |
468 }, | 474 }, |
469 }, # target_defaults | 475 }, # target_defaults |
470 } | 476 } |
471 | 477 |
OLD | NEW |