Bug 796229 - Use symlinks internally on gonk builds, r=glandium
authorMichael Wu <mwu@mozilla.com>
Thu, 18 Oct 2012 19:22:40 -0400
changeset 110853 3ae7c9a135d24d76069b070a8050c0029fb4dcc6
parent 110852 fa53bf0326fbe6a503ebf875fc368db27da09c1a
child 110854 e0d611217c39b7d10cd1e8be3a8acf24a9a8511a
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersglandium
bugs796229
milestone19.0a1
Bug 796229 - Use symlinks internally on gonk builds, r=glandium
configure.in
--- a/configure.in
+++ b/configure.in
@@ -7566,17 +7566,17 @@ dnl Omnijar packaging is compatible with
 dnl In unpackaged builds, omnijar looks for files as if
 dnl things were flat packaged. After packaging, all files
 dnl are loaded from a single jar. MOZ_CHROME_FILE_FORMAT
 dnl is set to flat since putting files into jars is only
 dnl done during packaging with omnijar.
 if test "$MOZ_CHROME_FILE_FORMAT" = "omni"; then
     MOZ_OMNIJAR=1
     AC_DEFINE(MOZ_OMNIJAR)
-    if test "$OS_ARCH" = "WINNT" -o "$OS_ARCH" = "OS2" -o "$OS_TARGET" = "Android"; then
+    if test "$OS_ARCH" = "WINNT" -o "$OS_ARCH" = "OS2" -o "$MOZ_WIDGET_TOOLKIT" = "android"; then
         MOZ_CHROME_FILE_FORMAT=flat
     else
         MOZ_CHROME_FILE_FORMAT=symlink
     fi
 elif test "$MOZ_CHROME_FILE_FORMAT" = "jar"; then
     AC_DEFINE(MOZ_CHROME_FILE_FORMAT_JAR)
 fi