You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. # Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
  2. #
  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
  5. # tree. An additional intellectual property rights grant can be found
  6. # in the file PATENTS. All contributing project authors may
  7. # be found in the AUTHORS file in the root of the source tree.
  8. import("../../../webrtc.gni")
  9. rtc_library("aecm_core") {
  10. sources = [
  11. "aecm_core.cc",
  12. "aecm_core.h",
  13. "aecm_defines.h",
  14. "echo_control_mobile.cc",
  15. "echo_control_mobile.h",
  16. ]
  17. deps = [
  18. "../../../common_audio:common_audio_c",
  19. "../../../rtc_base:checks",
  20. "../../../rtc_base:rtc_base_approved",
  21. "../../../rtc_base:sanitizer",
  22. "../../../system_wrappers:cpu_features_api",
  23. "../utility:legacy_delay_estimator",
  24. ]
  25. cflags = []
  26. if (rtc_build_with_neon) {
  27. sources += [ "aecm_core_neon.cc" ]
  28. if (current_cpu != "arm64") {
  29. # Enable compilation for the NEON instruction set.
  30. suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ]
  31. cflags += [ "-mfpu=neon" ]
  32. }
  33. }
  34. if (current_cpu == "mipsel") {
  35. sources += [ "aecm_core_mips.cc" ]
  36. } else {
  37. sources += [ "aecm_core_c.cc" ]
  38. }
  39. }