diff --git a/config/autoconf.mk.in b/config/autoconf.mk.in index 611d8b1bf32b..a90c2cdc2dc1 100644 --- a/config/autoconf.mk.in +++ b/config/autoconf.mk.in @@ -691,6 +691,7 @@ ANDROID_PLATFORM = @ANDROID_PLATFORM@ ANDROID_SDK = @ANDROID_SDK@ ANDROID_PLATFORM_TOOLS = @ANDROID_PLATFORM_TOOLS@ ANDROID_VERSION = @ANDROID_VERSION@ +ANDROID_SOURCE = @ANDROID_SOURCE@ STLPORT_SOURCES = @STLPORT_SOURCES@ ANDROID_PACKAGE_NAME = @ANDROID_PACKAGE_NAME@ diff --git a/configure.in b/configure.in index eecdc9931440..170b47aa9d57 100644 --- a/configure.in +++ b/configure.in @@ -308,6 +308,8 @@ MOZ_ARG_WITH_STRING(gonk-toolchain-prefix, if test -n "$gonkdir" ; then kernel_name=`uname -s | tr "[[:upper:]]" "[[:lower:]]"` + android_source="$gonkdir" + ANDROID_SOURCE="$android_source" dnl set up compilers AS="$gonk_toolchain_prefix"as