| Index: webrtc/modules/audio_processing/BUILD.gn
|
| diff --git a/webrtc/modules/audio_processing/BUILD.gn b/webrtc/modules/audio_processing/BUILD.gn
|
| index 2626b7ebff874043c46ca4e37549e18a369e37e6..2455dc879b00a88011e8c60076caa54c5cc01fff 100644
|
| --- a/webrtc/modules/audio_processing/BUILD.gn
|
| +++ b/webrtc/modules/audio_processing/BUILD.gn
|
| @@ -20,7 +20,7 @@ declare_args() {
|
| aec_untrusted_delay_for_testing = false
|
| }
|
|
|
| -source_set("audio_processing") {
|
| +rtc_source_set("audio_processing") {
|
| sources = [
|
| "aec/aec_core.cc",
|
| "aec/aec_core.h",
|
| @@ -257,7 +257,7 @@ if (rtc_enable_protobuf) {
|
| }
|
|
|
| if (current_cpu == "x86" || current_cpu == "x64") {
|
| - source_set("audio_processing_sse2") {
|
| + rtc_source_set("audio_processing_sse2") {
|
| sources = [
|
| "aec/aec_core_sse2.cc",
|
| "aec/aec_rdft_sse2.cc",
|
| @@ -279,7 +279,7 @@ if (current_cpu == "x86" || current_cpu == "x64") {
|
| }
|
|
|
| if (rtc_build_with_neon) {
|
| - source_set("audio_processing_neon") {
|
| + rtc_source_set("audio_processing_neon") {
|
| sources = [
|
| "aec/aec_core_neon.cc",
|
| "aec/aec_rdft_neon.cc",
|
| @@ -291,7 +291,7 @@ if (rtc_build_with_neon) {
|
| # Enable compilation for the NEON instruction set. This is needed
|
| # since //build/config/arm.gni only enables NEON for iOS, not Android.
|
| # This provides the same functionality as webrtc/build/arm_neon.gypi.
|
| - configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
|
| + configs_suppressions += [ "//build/config/compiler:compiler_arm_fpu" ]
|
| cflags = [ "-mfpu=neon" ]
|
| }
|
|
|
| @@ -320,7 +320,7 @@ if (rtc_build_with_neon) {
|
| }
|
|
|
| if (rtc_include_tests) {
|
| - executable("audioproc") {
|
| + rtc_executable("audioproc") {
|
| testonly = true
|
| sources = [
|
| "test/process_test.cc",
|
| @@ -343,7 +343,7 @@ if (rtc_include_tests) {
|
| ]
|
| } # audioproc
|
|
|
| - executable("unpack_aecdump") {
|
| + rtc_executable("unpack_aecdump") {
|
| testonly = true
|
| sources = [
|
| "test/unpack.cc",
|
| @@ -364,7 +364,7 @@ if (rtc_include_tests) {
|
| ]
|
| } # unpack_aecdump
|
|
|
| - executable("audioproc_f") {
|
| + rtc_executable("audioproc_f") {
|
| testonly = true
|
| sources = [
|
| "test/aec_dump_based_simulator.cc",
|
| @@ -393,7 +393,7 @@ if (rtc_include_tests) {
|
| ]
|
| } # audioproc_f
|
|
|
| - source_set("audioproc_test_utils") {
|
| + rtc_source_set("audioproc_test_utils") {
|
| testonly = true
|
| sources = [
|
| "test/audio_buffer_tools.cc",
|
| @@ -411,7 +411,7 @@ if (rtc_include_tests) {
|
| ]
|
| }
|
|
|
| - executable("transient_suppression_test") {
|
| + rtc_executable("transient_suppression_test") {
|
| testonly = true
|
| sources = [
|
| "transient/file_utils.cc",
|
| @@ -427,7 +427,7 @@ if (rtc_include_tests) {
|
| ]
|
| }
|
|
|
| - executable("click_annotate") {
|
| + rtc_executable("click_annotate") {
|
| testonly = true
|
| sources = [
|
| "transient/click_annotate.cc",
|
| @@ -440,7 +440,7 @@ if (rtc_include_tests) {
|
| ]
|
| }
|
|
|
| - executable("nonlinear_beamformer_test") {
|
| + rtc_executable("nonlinear_beamformer_test") {
|
| testonly = true
|
| sources = [
|
| "beamformer/nonlinear_beamformer_test.cc",
|
| @@ -454,7 +454,7 @@ if (rtc_include_tests) {
|
| }
|
|
|
| if (rtc_enable_intelligibility_enhancer) {
|
| - executable("intelligibility_proc") {
|
| + rtc_executable("intelligibility_proc") {
|
| testonly = true
|
| sources = [
|
| "intelligibility/test/intelligibility_proc.cc",
|
| @@ -478,7 +478,7 @@ if (rtc_include_tests) {
|
| proto_out_dir = "webrtc/modules/audio_processing"
|
| }
|
|
|
| - source_set("audioproc_protobuf_utils") {
|
| + rtc_source_set("audioproc_protobuf_utils") {
|
| sources = [
|
| "test/protobuf_utils.cc",
|
| "test/protobuf_utils.h",
|
|
|