| 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 # When set to false, we could replace this with a downstream-specific |
| 18 # implementation |
| 19 rtc_use_default_fileutils = true |
| 20 |
| 17 # Disable this to avoid building the Opus audio codec. | 21 # Disable this to avoid building the Opus audio codec. |
| 18 rtc_include_opus = true | 22 rtc_include_opus = true |
| 19 | 23 |
| 20 # Enable this to let the Opus audio codec change complexity on the fly. | 24 # Enable this to let the Opus audio codec change complexity on the fly. |
| 21 rtc_opus_variable_complexity = false | 25 rtc_opus_variable_complexity = false |
| 22 | 26 |
| 23 # Disable to use absolute header paths for some libraries. | 27 # Disable to use absolute header paths for some libraries. |
| 24 rtc_relative_path = true | 28 rtc_relative_path = true |
| 25 | 29 |
| 26 # Used to specify an external Jsoncpp include path when not compiling the | 30 # Used to specify an external Jsoncpp include path when not compiling the |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 ]) | 314 ]) |
| 311 configs += invoker.configs | 315 configs += invoker.configs |
| 312 configs -= rtc_remove_configs | 316 configs -= rtc_remove_configs |
| 313 configs -= invoker.suppressed_configs | 317 configs -= invoker.suppressed_configs |
| 314 public_configs = [ rtc_common_inherited_config ] | 318 public_configs = [ rtc_common_inherited_config ] |
| 315 if (defined(invoker.public_configs)) { | 319 if (defined(invoker.public_configs)) { |
| 316 public_configs += invoker.public_configs | 320 public_configs += invoker.public_configs |
| 317 } | 321 } |
| 318 } | 322 } |
| 319 } | 323 } |
| OLD | NEW |