diff --git a/configure.in b/configure.in index 0054bf9d702..a7412ab73ab 100644 --- a/configure.in +++ b/configure.in @@ -8447,6 +8447,7 @@ AC_SUBST(MOZ_METRO) AC_SUBST(MOZ_ANDROID_HISTORY) AC_SUBST(MOZ_WEBSMS_BACKEND) AC_SUBST(MOZ_ANDROID_BEAM) +AC_SUBST(MOZ_DISABLE_GECKOVIEW) AC_SUBST(ENABLE_STRIP) AC_SUBST(PKG_SKIP_STRIP) AC_SUBST(STRIP_FLAGS) diff --git a/toolkit/mozapps/installer/packager.mk b/toolkit/mozapps/installer/packager.mk index b344809899b..0fe7c54919b 100644 --- a/toolkit/mozapps/installer/packager.mk +++ b/toolkit/mozapps/installer/packager.mk @@ -345,8 +345,12 @@ INNER_ROBOCOP_PACKAGE=echo 'Testing is disabled - No Robocop for you' endif # Create geckoview_library/geckoview_{assets,library}.zip for third-party GeckoView consumers. +ifndef MOZ_DISABLE_GECKOVIEW INNER_MAKE_GECKOVIEW_LIBRARY= \ $(MAKE) -C ../mobile/android/geckoview_library package ABI_DIR=$(ABI_DIR) +else +INNER_MAKE_GECKOVIEW_LIBRARY=echo 'GeckoView library packaging is disabled' +endif ifdef MOZ_OMX_PLUGIN DIST_FILES += libomxplugin.so libomxplugingb.so libomxplugingb235.so libomxpluginhc.so libomxpluginfroyo.so