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") |
11 import("//build/config/mips.gni") | 11 import("//build/config/mips.gni") |
12 import("//build/config/sanitizers/sanitizers.gni") | 12 import("//build/config/sanitizers/sanitizers.gni") |
13 import("//build_overrides/build.gni") | 13 import("//build_overrides/build.gni") |
14 import("//testing/test.gni") | 14 import("//testing/test.gni") |
15 | 15 |
16 declare_args() { | 16 declare_args() { |
17 # Disable this to avoid building the Opus audio codec. | 17 # Disable this to avoid building the Opus audio codec. |
18 rtc_include_opus = true | 18 rtc_include_opus = true |
19 | 19 |
| 20 # Enable this to let the Opus audio codec change complexity on the fly. |
| 21 rtc_opus_variable_complexity = false |
| 22 |
20 # Disable to use absolute header paths for some libraries. | 23 # Disable to use absolute header paths for some libraries. |
21 rtc_relative_path = true | 24 rtc_relative_path = true |
22 | 25 |
23 # Used to specify an external Jsoncpp include path when not compiling the | 26 # Used to specify an external Jsoncpp include path when not compiling the |
24 # library that comes with WebRTC (i.e. rtc_build_json == 0). | 27 # library that comes with WebRTC (i.e. rtc_build_json == 0). |
25 rtc_jsoncpp_root = "//third_party/jsoncpp/source/include" | 28 rtc_jsoncpp_root = "//third_party/jsoncpp/source/include" |
26 | 29 |
27 # Used to specify an external OpenSSL include path when not compiling the | 30 # Used to specify an external OpenSSL include path when not compiling the |
28 # library that comes with WebRTC (i.e. rtc_build_ssl == 0). | 31 # library that comes with WebRTC (i.e. rtc_build_ssl == 0). |
29 rtc_ssl_root = "" | 32 rtc_ssl_root = "" |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 ]) | 309 ]) |
307 configs += invoker.configs | 310 configs += invoker.configs |
308 configs -= rtc_remove_configs | 311 configs -= rtc_remove_configs |
309 configs -= invoker.suppressed_configs | 312 configs -= invoker.suppressed_configs |
310 public_configs = [ rtc_common_inherited_config ] | 313 public_configs = [ rtc_common_inherited_config ] |
311 if (defined(invoker.public_configs)) { | 314 if (defined(invoker.public_configs)) { |
312 public_configs += invoker.public_configs | 315 public_configs += invoker.public_configs |
313 } | 316 } |
314 } | 317 } |
315 } | 318 } |
OLD | NEW |