Moved the aec_rdft*.c files to be build using C++

BUG=webrtc:5298
NOPRESUBMIT=true

Review URL: https://codereview.webrtc.org/1881153003

Cr-Commit-Position: refs/heads/master@{#12346}
This commit is contained in:
peah 2016-04-13 07:53:48 -07:00 committed by Commit bot
parent eda7926d97
commit 21a395ddf7
10 changed files with 8 additions and 16 deletions

View File

@ -25,7 +25,7 @@ source_set("audio_processing") {
"aec/aec_core.cc",
"aec/aec_core.h",
"aec/aec_core_internal.h",
"aec/aec_rdft.c",
"aec/aec_rdft.cc",
"aec/aec_rdft.h",
"aec/aec_resampler.cc",
"aec/aec_resampler.h",
@ -200,7 +200,7 @@ source_set("audio_processing") {
if (mips_float_abi == "hard") {
sources += [
"aec/aec_core_mips.cc",
"aec/aec_rdft_mips.c",
"aec/aec_rdft_mips.cc",
]
}
} else {
@ -241,7 +241,7 @@ if (current_cpu == "x86" || current_cpu == "x64") {
source_set("audio_processing_sse2") {
sources = [
"aec/aec_core_sse2.cc",
"aec/aec_rdft_sse2.c",
"aec/aec_rdft_sse2.cc",
]
if (is_posix) {
@ -257,7 +257,7 @@ if (rtc_build_with_neon) {
source_set("audio_processing_neon") {
sources = [
"aec/aec_core_neon.cc",
"aec/aec_rdft_neon.c",
"aec/aec_rdft_neon.cc",
"aecm/aecm_core_neon.cc",
"ns/nsx_core_neon.c",
]

View File

@ -31,9 +31,7 @@ extern "C" {
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"
#include "webrtc/modules/audio_processing/aec/aec_common.h"
#include "webrtc/modules/audio_processing/aec/aec_core_internal.h"
extern "C" {
#include "webrtc/modules/audio_processing/aec/aec_rdft.h"
}
#include "webrtc/modules/audio_processing/logging/aec_logging.h"
#include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h"
#include "webrtc/system_wrappers/include/cpu_features_wrapper.h"

View File

@ -20,9 +20,7 @@ extern "C" {
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"
}
#include "webrtc/modules/audio_processing/aec/aec_core_internal.h"
extern "C" {
#include "webrtc/modules/audio_processing/aec/aec_rdft.h"
}
namespace webrtc {

View File

@ -23,9 +23,7 @@ extern "C" {
}
#include "webrtc/modules/audio_processing/aec/aec_common.h"
#include "webrtc/modules/audio_processing/aec/aec_core_internal.h"
extern "C" {
#include "webrtc/modules/audio_processing/aec/aec_rdft.h"
}
namespace webrtc {

View File

@ -21,9 +21,7 @@ extern "C" {
}
#include "webrtc/modules/audio_processing/aec/aec_common.h"
#include "webrtc/modules/audio_processing/aec/aec_core_internal.h"
extern "C" {
#include "webrtc/modules/audio_processing/aec/aec_rdft.h"
}
namespace webrtc {

View File

@ -35,7 +35,7 @@
'aec/aec_core.cc',
'aec/aec_core.h',
'aec/aec_core_internal.h',
'aec/aec_rdft.c',
'aec/aec_rdft.cc',
'aec/aec_rdft.h',
'aec/aec_resampler.cc',
'aec/aec_resampler.h',
@ -207,7 +207,7 @@
['mips_float_abi=="hard"', {
'sources': [
'aec/aec_core_mips.cc',
'aec/aec_rdft_mips.c',
'aec/aec_rdft_mips.cc',
],
}],
],
@ -246,7 +246,7 @@
'type': 'static_library',
'sources': [
'aec/aec_core_sse2.cc',
'aec/aec_rdft_sse2.c',
'aec/aec_rdft_sse2.cc',
],
'conditions': [
['os_posix==1', {
@ -269,7 +269,7 @@
],
'sources': [
'aec/aec_core_neon.cc',
'aec/aec_rdft_neon.c',
'aec/aec_rdft_neon.cc',
'aecm/aecm_core_neon.cc',
'ns/nsx_core_neon.c',
],