Bug 1066853 - Gecko fail to build on Nemo/Mer ARMV7 hardfp scratchbox2 cross target. r=rjesup

This commit is contained in:
Oleg Romashin 2014-09-25 22:15:25 -07:00
parent 3f6740fe9b
commit 95fa5144d2

View File

@ -66,6 +66,19 @@ static int GetCPUInfo(CPUFeature feature) {
(void)feature;
return 0;
}
#if !defined(WEBRTC_GONK) && !defined(ANDROID)
#ifdef WEBRTC_ARCH_ARM_V7
uint64_t WebRtc_GetCPUFeaturesARM(void) {
return kCPUFeatureARMv7
#ifdef WEBRTC_ARCH_ARM_NEON
| kCPUFeatureNEON
#endif
| kCPUFeatureVFPv3;
}
#endif // WEBRTC_ARCH_ARM_V7
#endif // !WEBRTC_GONK && !ANDROID
#endif
WebRtc_CPUInfo WebRtc_GetCPUInfo = GetCPUInfo;