Bug 1305815 - Fix false positives for x86 devices. r=snorp a=gchang
authorDylan Roeh <droeh@mozilla.com>
Mon, 13 Mar 2017 10:25:12 -0500
changeset 379174 404fce5a935677c6e1fda437583ba6a28980c8c0
parent 379173 5a6378626456b1d13fd46476e26dc60ac96035a7
child 379175 3d0b8766a2a5f501dc03db93ece6146a18350ab7
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp, gchang
bugs1305815
milestone53.0
Bug 1305815 - Fix false positives for x86 devices. r=snorp a=gchang
mozglue/android/APKOpen.cpp
--- a/mozglue/android/APKOpen.cpp
+++ b/mozglue/android/APKOpen.cpp
@@ -497,10 +497,14 @@ ChildProcessInit(int argc, char* argv[])
 
   XREChildData childData;
   return NS_FAILED(gBootstrap->XRE_InitChildProcess(argc, argv, &childData));
 }
 
 extern "C" APKOPEN_EXPORT jboolean MOZ_JNICALL
 Java_org_mozilla_gecko_mozglue_GeckoLoader_neonCompatible(JNIEnv *jenv, jclass jc)
 {
+#ifdef __ARM_EABI__
   return mozilla::supports_neon();
+#else
+  return true;
+#endif // __ARM_EABI__
 }