Bug 891049 - Only build Skia on x86, x86_64 and ARM target architectures r=khuey
authorGeorge Wright <gwright@mozilla.com>
Fri, 12 Jul 2013 16:34:27 -0400
changeset 138750 0bf9cd2343d7086cdb62b71a27d4446798456eff
parent 138749 cf07667d28cbe131200a01dd98288038fd80eb2d
child 138751 67cc8e809774ba95ed9680dc4f939996c4a21a17
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewerskhuey
bugs891049
milestone25.0a1
Bug 891049 - Only build Skia on x86, x86_64 and ARM target architectures r=khuey
configure.in
--- a/configure.in
+++ b/configure.in
@@ -8132,17 +8132,24 @@ AC_SUBST(GLIB_CFLAGS)
 AC_SUBST(GLIB_LIBS)
 AC_SUBST(GLIB_GMODULE_LIBS)
 
 dnl ========================================================
 dnl Graphics checks.
 dnl ========================================================
 
 if test "${OS_TARGET}" = "WINNT" -o "${OS_ARCH}" = "Darwin" -o "${MOZ_WIDGET_TOOLKIT}" = "android" -o "${MOZ_WIDGET_TOOLKIT}" = "gtk2"; then
-MOZ_ENABLE_SKIA=1
+    case "${target_cpu}" in
+    i*86*|x86_64|arm)
+        MOZ_ENABLE_SKIA=1
+        ;;
+    *)
+        MOZ_ENABLE_SKIA=
+        ;;
+    esac
 else
 MOZ_ENABLE_SKIA=
 fi
 
 MOZ_ARG_ENABLE_BOOL(skia,
 [  --enable-skia   Enable use of Skia],
 MOZ_ENABLE_SKIA=1,
 MOZ_ENABLE_SKIA=)