Fixes for the chromium build ARM and some old x86 platform:
1) Removed SSE2 for ARM in aec.gyp. 2) Removed the re-definition of DISALLOW_COPY_AND_ASSIGN in latebindingsymboltable.h. 3) SSE2 not always supported in some old x86 platform. Review URL: http://webrtc-codereview.appspot.com/80002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@224 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -32,12 +32,9 @@
|
|||||||
#include <stddef.h> // for NULL
|
#include <stddef.h> // for NULL
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "constructor_magic.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
|
|
||||||
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
|
|
||||||
TypeName(const TypeName&); \
|
|
||||||
void operator=(const TypeName&)
|
|
||||||
|
|
||||||
// This file provides macros for creating "symbol table" classes to simplify the
|
// This file provides macros for creating "symbol table" classes to simplify the
|
||||||
// dynamic loading of symbols from DLLs. Currently the implementation only
|
// dynamic loading of symbols from DLLs. Currently the implementation only
|
||||||
// supports Linux and pure C symbols.
|
// supports Linux and pure C symbols.
|
||||||
|
|||||||
@@ -30,14 +30,20 @@
|
|||||||
'../interface/echo_cancellation.h',
|
'../interface/echo_cancellation.h',
|
||||||
'echo_cancellation.c',
|
'echo_cancellation.c',
|
||||||
'aec_core.c',
|
'aec_core.c',
|
||||||
'aec_core_sse2.c',
|
|
||||||
'aec_rdft.h',
|
'aec_rdft.h',
|
||||||
'aec_rdft.c',
|
'aec_rdft.c',
|
||||||
'aec_rdft_sse2.c',
|
|
||||||
'aec_core.h',
|
'aec_core.h',
|
||||||
'resampler.c',
|
'resampler.c',
|
||||||
'resampler.h',
|
'resampler.h',
|
||||||
],
|
],
|
||||||
|
'conditions': [
|
||||||
|
['target_arch == "ia32" or target_arch == "x64"', {
|
||||||
|
'sources': [
|
||||||
|
'aec_core_sse2.c',
|
||||||
|
'aec_rdft_sse2.c',
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
* be found in the AUTHORS file in the root of the source tree.
|
* be found in the AUTHORS file in the root of the source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__SSE2__)
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
|
|
||||||
#include "aec_rdft.h"
|
#include "aec_rdft.h"
|
||||||
@@ -207,3 +208,5 @@ void aec_rdft_init_sse2(void) {
|
|||||||
rftfsub_128 = rftfsub_128_SSE2;
|
rftfsub_128 = rftfsub_128_SSE2;
|
||||||
rftbsub_128 = rftbsub_128_SSE2;
|
rftbsub_128 = rftbsub_128_SSE2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // __SSE2__
|
||||||
|
|||||||
Reference in New Issue
Block a user