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 # Make it possible to provide custom locations for some libraries. | 114 # Make it possible to provide custom locations for some libraries. |
115 'libvpx_dir%': '<(DEPTH)/third_party/libvpx_new', | 115 'libvpx_dir%': '<(DEPTH)/third_party/libvpx_new', |
116 'libyuv_dir%': '<(DEPTH)/third_party/libyuv', | 116 'libyuv_dir%': '<(DEPTH)/third_party/libyuv', |
117 'opus_dir%': '<(opus_dir)', | 117 'opus_dir%': '<(opus_dir)', |
118 | 118 |
119 # Use Java based audio layer as default for Android. | 119 # Use Java based audio layer as default for Android. |
120 # Change this setting to 1 to use Open SL audio instead. | 120 # Change this setting to 1 to use Open SL audio instead. |
121 # TODO(henrika): add support for Open SL ES. | 121 # TODO(henrika): add support for Open SL ES. |
122 'enable_android_opensl%': 0, | 122 'enable_android_opensl%': 0, |
123 | 123 |
124 # Disable this to skip building source requiring GTK. | |
125 'use_gtk%': 1, | |
126 | |
127 # Link-Time Optimizations | 124 # Link-Time Optimizations |
128 # Executes code generation at link-time instead of compile-time | 125 # Executes code generation at link-time instead of compile-time |
129 # https://gcc.gnu.org/wiki/LinkTimeOptimization | 126 # https://gcc.gnu.org/wiki/LinkTimeOptimization |
130 'use_lto%': 0, | 127 'use_lto%': 0, |
131 | 128 |
132 # Defer ssl perference to that specified through sslconfig.h instead of | 129 # Defer ssl perference to that specified through sslconfig.h instead of |
133 # 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 |
134 # enable schannel on windows. | 131 # enable schannel on windows. |
135 'use_legacy_ssl_defaults%': 0, | 132 'use_legacy_ssl_defaults%': 0, |
136 | 133 |
(...skipping 20 matching lines...) Expand all Loading... |
157 # FFmpeg must only be initialized once. Projects that initialize FFmpeg | 154 # FFmpeg must only be initialized once. Projects that initialize FFmpeg |
158 # externally, such as Chromium, must turn this flag off so that WebRTC | 155 # externally, such as Chromium, must turn this flag off so that WebRTC |
159 # does not also initialize. | 156 # does not also initialize. |
160 ['build_with_chromium==0', { | 157 ['build_with_chromium==0', { |
161 'rtc_initialize_ffmpeg%': 1, | 158 'rtc_initialize_ffmpeg%': 1, |
162 }, { | 159 }, { |
163 'rtc_initialize_ffmpeg%': 0, | 160 'rtc_initialize_ffmpeg%': 0, |
164 }], | 161 }], |
165 | 162 |
166 ['build_with_chromium==1', { | 163 ['build_with_chromium==1', { |
| 164 # Build sources requiring GTK. NOTICE: This is not present in Chrome OS |
| 165 # build environments, even if available for Chromium builds. |
| 166 'use_gtk%': 0, |
167 # Exclude pulse audio on Chromium since its prerequisites don't require | 167 # Exclude pulse audio on Chromium since its prerequisites don't require |
168 # pulse audio. | 168 # pulse audio. |
169 'include_pulse_audio%': 0, | 169 'include_pulse_audio%': 0, |
170 | 170 |
171 # Exclude internal ADM since Chromium uses its own IO handling. | 171 # Exclude internal ADM since Chromium uses its own IO handling. |
172 'include_internal_audio_device%': 0, | 172 'include_internal_audio_device%': 0, |
173 | 173 |
174 # Remove tests for Chromium to avoid slowing down GYP generation. | 174 # Remove tests for Chromium to avoid slowing down GYP generation. |
175 'include_tests%': 0, | 175 'include_tests%': 0, |
176 'restrict_webrtc_logging%': 1, | 176 'restrict_webrtc_logging%': 1, |
177 }, { # Settings for the standalone (not-in-Chromium) build. | 177 }, { # Settings for the standalone (not-in-Chromium) build. |
| 178 'use_gtk%': 1, |
178 # TODO(andrew): For now, disable the Chrome plugins, which causes a | 179 # TODO(andrew): For now, disable the Chrome plugins, which causes a |
179 # flood of chromium-style warnings. Investigate enabling them: | 180 # flood of chromium-style warnings. Investigate enabling them: |
180 # http://code.google.com/p/webrtc/issues/detail?id=163 | 181 # http://code.google.com/p/webrtc/issues/detail?id=163 |
181 'clang_use_chrome_plugins%': 0, | 182 'clang_use_chrome_plugins%': 0, |
182 | 183 |
183 'include_pulse_audio%': 1, | 184 'include_pulse_audio%': 1, |
184 'include_internal_audio_device%': 1, | 185 'include_internal_audio_device%': 1, |
185 'include_tests%': 1, | 186 'include_tests%': 1, |
186 'restrict_webrtc_logging%': 0, | 187 'restrict_webrtc_logging%': 0, |
187 }], | 188 }], |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 # of a more specific macro. | 479 # of a more specific macro. |
479 'defines': [ | 480 'defines': [ |
480 'WEBRTC_POSIX', | 481 'WEBRTC_POSIX', |
481 ], | 482 ], |
482 }], | 483 }], |
483 ], | 484 ], |
484 }, | 485 }, |
485 }, # target_defaults | 486 }, # target_defaults |
486 } | 487 } |
487 | 488 |
OLD | NEW |