mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
333a06698b
41 changed files with 1 additions and 1192 deletions
119
old-configure.in
119
old-configure.in
|
|
@ -90,15 +90,7 @@ DIST="$MOZ_BUILD_ROOT/dist"
|
|||
|
||||
MOZ_DEFAULT_COMPILER
|
||||
|
||||
if test "$COMPILE_ENVIRONMENT"; then
|
||||
MOZ_ANDROID_NDK
|
||||
fi # COMPILE_ENVIRONMENT
|
||||
|
||||
case "$target" in
|
||||
*-android*|*-linuxandroid*)
|
||||
ZLIB_DIR=yes
|
||||
AC_DEFINE(ANDROID)
|
||||
;;
|
||||
*-linux*)
|
||||
AC_PATH_PROG(OBJCOPY,objcopy)
|
||||
;;
|
||||
|
|
@ -523,16 +515,6 @@ else
|
|||
fi
|
||||
fi # COMPILE_ENVIRONMENT
|
||||
|
||||
dnl ========================================================
|
||||
dnl Android libstdc++, placed here so it can use MOZ_ARCH
|
||||
dnl computed above.
|
||||
dnl ========================================================
|
||||
|
||||
MOZ_ANDROID_CPU_ARCH
|
||||
if test "$COMPILE_ENVIRONMENT"; then
|
||||
MOZ_ANDROID_STLPORT
|
||||
fi # COMPILE_ENVIRONMENT
|
||||
|
||||
dnl ========================================================
|
||||
dnl Suppress Clang Argument Warnings
|
||||
dnl ========================================================
|
||||
|
|
@ -867,19 +849,6 @@ case "$target" in
|
|||
MOZ_FIX_LINK_PATHS="-Wl,-executable_path,${DIST}/bin"
|
||||
;;
|
||||
|
||||
*-android*|*-linuxandroid*)
|
||||
AC_DEFINE(NO_PW_GECOS)
|
||||
if test "$COMPILE_ENVIRONMENT"; then
|
||||
MOZ_LINKER=1
|
||||
fi
|
||||
|
||||
MOZ_GFX_OPTIMIZE_MOBILE=1
|
||||
MOZ_OPTIMIZE_FLAGS="-O2"
|
||||
if test -z "$CLANG_CC"; then
|
||||
MOZ_OPTIMIZE_FLAGS="-freorder-blocks -fno-reorder-functions $MOZ_OPTIMIZE_FLAGS"
|
||||
fi
|
||||
;;
|
||||
|
||||
*-*linux*)
|
||||
if test "$GNU_CC" -o "$GNU_CXX"; then
|
||||
MOZ_PGO_OPTIMIZE_FLAGS="-O3"
|
||||
|
|
@ -1869,9 +1838,6 @@ if test "$ac_cv_thread_keyword" = yes -a "$MOZ_LINKER" != 1; then
|
|||
mips*-*)
|
||||
:
|
||||
;;
|
||||
*-android*|*-linuxandroid*)
|
||||
:
|
||||
;;
|
||||
*-openbsd*)
|
||||
:
|
||||
;;
|
||||
|
|
@ -2186,30 +2152,6 @@ case "$target_os" in
|
|||
;;
|
||||
esac
|
||||
|
||||
case "${target}" in
|
||||
*-android*|*-linuxandroid*)
|
||||
MOZ_THEME_FASTSTRIPE=1
|
||||
MOZ_RAW=1
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
# Optional Firefox for Android partner distribution directory.
|
||||
MOZ_ARG_WITH_STRING(android-distribution-directory,
|
||||
[ --with-android-distribution-directory=dir
|
||||
Optional Firefox for Android partner distribution directory.],
|
||||
MOZ_ANDROID_DISTRIBUTION_DIRECTORY=$withval)
|
||||
|
||||
if test -n "$MOZ_ANDROID_DISTRIBUTION_DIRECTORY"; then
|
||||
# A distribution directory must have an assets/distribution directory.
|
||||
# See https://wiki.mozilla.org/Mobile/Distribution_Files.
|
||||
if test ! -d "$MOZ_ANDROID_DISTRIBUTION_DIRECTORY/assets/distribution" ; then
|
||||
AC_MSG_ERROR([--with-android-distribution-directory does not contain assets/distribution;
|
||||
(looked for ${MOZ_ANDROID_DISTRIBUTION_DIRECTORY}/assets/distribution).])
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(MOZ_ANDROID_DISTRIBUTION_DIRECTORY)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Vendor override
|
||||
dnl ========================================================
|
||||
|
|
@ -2264,17 +2206,6 @@ if test -n "$MOZ_GRAPHENE"; then
|
|||
AC_DEFINE(MOZ_GRAPHENE)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl Ensure Android SDK and build-tools versions depending on
|
||||
dnl mobile target.
|
||||
dnl ========================================================
|
||||
|
||||
case "$MOZ_BUILD_APP" in
|
||||
mobile/android)
|
||||
MOZ_ANDROID_SDK(23, 23.0.3 23.0.1)
|
||||
;;
|
||||
esac
|
||||
|
||||
dnl ========================================================
|
||||
dnl =
|
||||
dnl = Toolkit Options
|
||||
|
|
@ -2474,17 +2405,6 @@ fi
|
|||
AC_DEFINE_UNQUOTED(MOZ_DISTRIBUTION_ID,"$MOZ_DISTRIBUTION_ID")
|
||||
AC_SUBST(MOZ_DISTRIBUTION_ID)
|
||||
|
||||
|
||||
dnl ========================================================
|
||||
dnl Google Play Services, placed here so it can depend on
|
||||
dnl values set by configure.sh above.
|
||||
dnl ========================================================
|
||||
|
||||
MOZ_ANDROID_GOOGLE_PLAY_SERVICES
|
||||
MOZ_ANDROID_GOOGLE_CLOUD_MESSAGING
|
||||
MOZ_ANDROID_INSTALL_TRACKING
|
||||
|
||||
|
||||
dnl ========================================================
|
||||
dnl = GIO and GConf support module
|
||||
dnl ========================================================
|
||||
|
|
@ -2684,7 +2604,7 @@ dnl --enable-webrtc to override. Can disable for everything in
|
|||
dnl the master list above.
|
||||
if test -n "$MOZ_WEBRTC"; then
|
||||
case "$target" in
|
||||
*-linux*|*-mingw*|*-darwin*|*-android*|*-linuxandroid*|*-dragonfly*|*-freebsd*|*-netbsd*|*-openbsd*)
|
||||
*-linux*|*-mingw*|*-darwin*|*-dragonfly*|*-freebsd*|*-netbsd*|*-openbsd*)
|
||||
dnl Leave enabled
|
||||
;;
|
||||
*)
|
||||
|
|
@ -3880,25 +3800,6 @@ dnl =
|
|||
dnl ========================================================
|
||||
MOZ_ARG_HEADER(Runtime debugging and Optimizations)
|
||||
|
||||
dnl ========================================================
|
||||
dnl enable mobile optimizations
|
||||
dnl ========================================================
|
||||
MOZ_ARG_ENABLE_BOOL(mobile-optimize,
|
||||
[ --enable-mobile-optimize
|
||||
Enable mobile optimizations],
|
||||
MOZ_GFX_OPTIMIZE_MOBILE=1)
|
||||
|
||||
AC_SUBST(MOZ_GFX_OPTIMIZE_MOBILE)
|
||||
|
||||
if test "$MOZ_GFX_OPTIMIZE_MOBILE"; then
|
||||
# We ignore paint will resample on mobile for performance.
|
||||
# We may want to revisit this later.
|
||||
MOZ_IGNORE_PAINT_WILL_RESAMPLE=1
|
||||
|
||||
AC_DEFINE(MOZ_GFX_OPTIMIZE_MOBILE)
|
||||
AC_DEFINE(MOZ_IGNORE_PAINT_WILL_RESAMPLE)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Enable code optimization. ON by default.
|
||||
dnl ========================================================
|
||||
|
|
@ -5077,7 +4978,6 @@ AC_SUBST(ENABLE_TESTS)
|
|||
AC_SUBST(MOZ_UNIVERSALCHARDET)
|
||||
AC_SUBST(ACCESSIBILITY)
|
||||
AC_SUBST(MOZ_SPELLCHECK)
|
||||
AC_SUBST(MOZ_ANDROID_ANR_REPORTER)
|
||||
AC_SUBST(MOZ_VERIFY_MAR_SIGNATURE)
|
||||
AC_SUBST(MOZ_ENABLE_SIGNMAR)
|
||||
AC_SUBST(MOZ_UPDATER)
|
||||
|
|
@ -5091,9 +4991,6 @@ AC_SUBST(MOZ_DIRECTX_SDK_PATH)
|
|||
AC_SUBST(MOZ_D3DCOMPILER_XP_DLL)
|
||||
AC_SUBST(MOZ_D3DCOMPILER_XP_CAB)
|
||||
|
||||
AC_SUBST(MOZ_ANDROID_APPLICATION_CLASS)
|
||||
AC_SUBST(MOZ_ANDROID_BROWSER_INTENT_CLASS)
|
||||
AC_SUBST(MOZ_ANDROID_SEARCH_INTENT_CLASS)
|
||||
AC_SUBST(MOZ_EXCLUDE_HYPHENATION_DICTIONARIES)
|
||||
AC_SUBST(MOZ_INSTALL_TRACKING)
|
||||
AC_SUBST(ENABLE_STRIP)
|
||||
|
|
@ -5190,10 +5087,6 @@ AC_SUBST(MOZ_CHILD_PROCESS_BUNDLE)
|
|||
# the main application is set to the value of this variable. If not
|
||||
# set, it falls back to a Mozilla-specific value derived from the
|
||||
# build ID.
|
||||
# - MOZ_ANDROID_SHARED_ID: On Android, "android:sharedUserId" for all Android
|
||||
# packages produced.
|
||||
# - MOZ_ANDROID_GCM_SENDERID: On Android, the Android GCM Sender ID used. GCM
|
||||
# sender IDs are not sensitive: see, http://stackoverflow.com/a/18216063.
|
||||
# - MOZ_PROFILE_MIGRATOR: When set, enables profile migrator.
|
||||
|
||||
if test -z "$MOZ_APP_NAME"; then
|
||||
|
|
@ -5212,14 +5105,6 @@ if test -z "$ANDROID_PACKAGE_NAME" ; then
|
|||
ANDROID_PACKAGE_NAME="org.mozilla.$MOZ_APP_NAME"
|
||||
fi
|
||||
|
||||
# Mozilla released Firefox for Android {Release,Beta} and {Aurora,Nightly} to
|
||||
# the public with specific common shared IDs and we need to keep them
|
||||
# consistent forever. The specific common values are set by per-channel
|
||||
# branding; all other channels use a generic sharedID, set below.
|
||||
if test -z "$MOZ_ANDROID_SHARED_ID" ; then
|
||||
MOZ_ANDROID_SHARED_ID="${ANDROID_PACKAGE_NAME}.sharedID"
|
||||
fi
|
||||
|
||||
# For extensions and langpacks, we require a max version that is compatible
|
||||
# across security releases. MOZ_APP_MAXVERSION is our method for doing that.
|
||||
# 24.0a1 and 24.0a2 aren't affected
|
||||
|
|
@ -5246,8 +5131,6 @@ AC_SUBST(MOZ_APP_VENDOR)
|
|||
AC_SUBST(MOZ_APP_PROFILE)
|
||||
AC_SUBST(MOZ_APP_ID)
|
||||
AC_SUBST(MOZ_APP_ANDROID_VERSION_CODE)
|
||||
AC_SUBST(MOZ_ANDROID_SHARED_ID)
|
||||
AC_SUBST(MOZ_ANDROID_GCM_SENDERID)
|
||||
AC_SUBST(MAR_CHANNEL_ID)
|
||||
AC_SUBST(ACCEPTED_MAR_CHANNEL_IDS)
|
||||
AC_SUBST(MOZ_PROFILE_MIGRATOR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue