OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 165 |
166 # A second declare_args block, so that declarations within it can | 166 # A second declare_args block, so that declarations within it can |
167 # depend on the possibly overridden variables in the first | 167 # depend on the possibly overridden variables in the first |
168 # declare_args block. | 168 # declare_args block. |
169 declare_args() { | 169 declare_args() { |
170 # Include the iLBC audio codec? | 170 # Include the iLBC audio codec? |
171 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) | 171 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) |
172 | 172 |
173 rtc_restrict_logging = build_with_chromium | 173 rtc_restrict_logging = build_with_chromium |
174 | 174 |
| 175 # Set to false to disable Alsa. |
| 176 rtc_include_alsa = true |
| 177 |
175 # Excluded in Chromium since its prerequisites don't require Pulse Audio. | 178 # Excluded in Chromium since its prerequisites don't require Pulse Audio. |
176 rtc_include_pulse_audio = !build_with_chromium | 179 rtc_include_pulse_audio = !build_with_chromium |
177 | 180 |
178 # Chromium uses its own IO handling, so the internal ADM is only built for | 181 # Chromium uses its own IO handling, so the internal ADM is only built for |
179 # standalone WebRTC. | 182 # standalone WebRTC. |
180 rtc_include_internal_audio_device = !build_with_chromium | 183 rtc_include_internal_audio_device = !build_with_chromium |
181 | 184 |
182 # Include tests in standalone checkout. | 185 # Include tests in standalone checkout. |
183 rtc_include_tests = !build_with_chromium | 186 rtc_include_tests = !build_with_chromium |
184 } | 187 } |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 configs += invoker.configs | 375 configs += invoker.configs |
373 configs -= rtc_remove_configs | 376 configs -= rtc_remove_configs |
374 configs -= invoker.suppressed_configs | 377 configs -= invoker.suppressed_configs |
375 public_configs = [ rtc_common_inherited_config ] | 378 public_configs = [ rtc_common_inherited_config ] |
376 if (defined(invoker.public_configs)) { | 379 if (defined(invoker.public_configs)) { |
377 public_configs += invoker.public_configs | 380 public_configs += invoker.public_configs |
378 } | 381 } |
379 } | 382 } |
380 } | 383 } |
381 } | 384 } |
OLD | NEW |