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:
ronghuawu@google.com
2011-07-18 16:13:23 +00:00
parent 801809c768
commit 44fe667d86
3 changed files with 12 additions and 6 deletions

View File

@@ -30,14 +30,20 @@
'../interface/echo_cancellation.h',
'echo_cancellation.c',
'aec_core.c',
'aec_core_sse2.c',
'aec_rdft.h',
'aec_rdft.c',
'aec_rdft_sse2.c',
'aec_core.h',
'resampler.c',
'resampler.h',
],
'conditions': [
['target_arch == "ia32" or target_arch == "x64"', {
'sources': [
'aec_core_sse2.c',
'aec_rdft_sse2.c',
],
}],
],
},
],
}

View File

@@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#if defined(__SSE2__)
#include <emmintrin.h>
#include "aec_rdft.h"
@@ -207,3 +208,5 @@ void aec_rdft_init_sse2(void) {
rftfsub_128 = rftfsub_128_SSE2;
rftbsub_128 = rftbsub_128_SSE2;
}
#endif // __SSE2__