mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-01 03:57:30 +09:00
Take the following project_flags out of moz.configure: and put them back into old-configure
MOZ_PLACES MOZ_SOCIAL MOZ_SERVICES_HEALTHREPORT MOZ_SERVICES_SYNC MOZ_SERVICES_CLOUDSYNC
This commit is contained in:
parent
c8f4fb3b7d
commit
e035963fa2
6 changed files with 45 additions and 36 deletions
|
|
@ -70,8 +70,6 @@ MOZ_PHOENIX_EXTENSIONS=1
|
||||||
# Platform Feature: Sync Service
|
# Platform Feature: Sync Service
|
||||||
MOZ_SERVICES_COMMON=1
|
MOZ_SERVICES_COMMON=1
|
||||||
MOZ_SERVICES_SYNC=1
|
MOZ_SERVICES_SYNC=1
|
||||||
MOZ_SERVICES_FXACCOUNTS=1
|
|
||||||
MOZ_SERVICES_CRYPTO=1
|
|
||||||
|
|
||||||
# Platform Feature: JS based Downloads Manager
|
# Platform Feature: JS based Downloads Manager
|
||||||
MOZ_JSDOWNLOADS=1
|
MOZ_JSDOWNLOADS=1
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,4 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
imply_option('MOZ_PLACES', True)
|
|
||||||
imply_option('MOZ_SERVICES_HEALTHREPORT', True)
|
|
||||||
imply_option('MOZ_SERVICES_SYNC', True)
|
|
||||||
imply_option('MOZ_SERVICES_CLOUDSYNC', True)
|
|
||||||
|
|
||||||
include('../../toolkit/moz.configure')
|
include('../../toolkit/moz.configure')
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,9 @@ MOZ_JSDOWNLOADS=1
|
||||||
MOZ_WEBRTC=1
|
MOZ_WEBRTC=1
|
||||||
MOZ_WEBEXTENSIONS=1
|
MOZ_WEBEXTENSIONS=1
|
||||||
MOZ_DEVTOOLS=1
|
MOZ_DEVTOOLS=1
|
||||||
|
MOZ_SERVICES_COMMON=1
|
||||||
|
MOZ_SERVICES_SYNC=1
|
||||||
|
MOZ_SERVICES_HEALTHREPORT=1
|
||||||
|
|
||||||
# Disable checking that add-ons are signed by the trusted root
|
# Disable checking that add-ons are signed by the trusted root
|
||||||
MOZ_ADDON_SIGNING=0
|
MOZ_ADDON_SIGNING=0
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,4 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
imply_option('MOZ_PLACES', True)
|
|
||||||
imply_option('MOZ_SERVICES_HEALTHREPORT', True)
|
|
||||||
imply_option('MOZ_SERVICES_SYNC', True)
|
|
||||||
imply_option('MOZ_SERVICES_CLOUDSYNC', True)
|
|
||||||
|
|
||||||
include('../toolkit/moz.configure')
|
include('../toolkit/moz.configure')
|
||||||
|
|
|
||||||
|
|
@ -2317,6 +2317,11 @@ MOZ_BINARY_EXTENSIONS=
|
||||||
MOZ_JETPACK=1
|
MOZ_JETPACK=1
|
||||||
MOZ_DEVTOOLS_SERVER=1
|
MOZ_DEVTOOLS_SERVER=1
|
||||||
MOZ_DEVTOOLS=
|
MOZ_DEVTOOLS=
|
||||||
|
MOZ_PLACES=1
|
||||||
|
MOZ_SOCIAL=1
|
||||||
|
MOZ_SERVICES_HEALTHREPORT=1
|
||||||
|
MOZ_SERVICES_SYNC=1
|
||||||
|
MOZ_SERVICES_CLOUDSYNC=1
|
||||||
|
|
||||||
case "$target_os" in
|
case "$target_os" in
|
||||||
mingw*)
|
mingw*)
|
||||||
|
|
@ -5274,6 +5279,43 @@ if test "$ENABLE_MARIONETTE"; then
|
||||||
AC_DEFINE(ENABLE_MARIONETTE)
|
AC_DEFINE(ENABLE_MARIONETTE)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl ========================================================
|
||||||
|
dnl =
|
||||||
|
dnl = Miscellaneous (former toolkit/moz.configure)
|
||||||
|
dnl =
|
||||||
|
dnl ========================================================
|
||||||
|
|
||||||
|
dnl Build Places if required
|
||||||
|
AC_SUBST(MOZ_PLACES)
|
||||||
|
if test "$MOZ_PLACES"; then
|
||||||
|
AC_DEFINE(MOZ_PLACES)
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl Build SocialAPI if required
|
||||||
|
AC_SUBST(MOZ_SOCIAL)
|
||||||
|
if test "$MOZ_SOCIAL"; then
|
||||||
|
AC_DEFINE(MOZ_SOCIAL)
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl Build Firefox Health Reporter Service
|
||||||
|
AC_SUBST(MOZ_SERVICES_HEALTHREPORT)
|
||||||
|
if test -n "$MOZ_SERVICES_HEALTHREPORT"; then
|
||||||
|
AC_DEFINE(MOZ_SERVICES_HEALTHREPORT)
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl Build Sync Services if required
|
||||||
|
AC_SUBST(MOZ_SERVICES_SYNC)
|
||||||
|
if test -n "$MOZ_SERVICES_SYNC"; then
|
||||||
|
AC_DEFINE(MOZ_SERVICES_SYNC)
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl Build Services/CloudSync if required
|
||||||
|
AC_SUBST(MOZ_SERVICES_CLOUDSYNC)
|
||||||
|
if test -n "$MOZ_SERVICES_CLOUDSYNC"; then
|
||||||
|
AC_DEFINE(MOZ_SERVICES_CLOUDSYNC)
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
if test "$MOZ_DEBUG" -o "$MOZ_DMD"; then
|
if test "$MOZ_DEBUG" -o "$MOZ_DMD"; then
|
||||||
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS=
|
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS=
|
||||||
|
|
|
||||||
|
|
@ -444,34 +444,10 @@ def omnijar_name(toolkit):
|
||||||
|
|
||||||
set_config('OMNIJAR_NAME', omnijar_name)
|
set_config('OMNIJAR_NAME', omnijar_name)
|
||||||
|
|
||||||
project_flag('MOZ_PLACES',
|
|
||||||
help='Build Places if required',
|
|
||||||
set_as_define=True)
|
|
||||||
|
|
||||||
project_flag('MOZ_SOCIAL',
|
|
||||||
help='Build SocialAPI if required',
|
|
||||||
default=True)
|
|
||||||
|
|
||||||
project_flag('MOZ_SERVICES_HEALTHREPORT',
|
|
||||||
help='Build Firefox Health Reporter Service',
|
|
||||||
set_for_old_configure=True,
|
|
||||||
set_as_define=True)
|
|
||||||
|
|
||||||
project_flag('MOZ_SERVICES_SYNC',
|
|
||||||
help='Build Sync Services if required')
|
|
||||||
|
|
||||||
project_flag('MOZ_SERVICES_CLOUDSYNC',
|
|
||||||
help='Build Services/CloudSync if required')
|
|
||||||
|
|
||||||
project_flag('MOZ_ANDROID_HISTORY',
|
project_flag('MOZ_ANDROID_HISTORY',
|
||||||
help='Enable Android History instead of Places',
|
help='Enable Android History instead of Places',
|
||||||
set_as_define=True)
|
set_as_define=True)
|
||||||
|
|
||||||
@depends('MOZ_PLACES', 'MOZ_ANDROID_HISTORY')
|
|
||||||
def check_places_and_android_history(places, android_history):
|
|
||||||
if places and android_history:
|
|
||||||
die('Cannot use MOZ_ANDROID_HISTORY alongside MOZ_PLACES.')
|
|
||||||
|
|
||||||
# Permissions system
|
# Permissions system
|
||||||
# ==============================================================
|
# ==============================================================
|
||||||
option(name='--disable-permissions',
|
option(name='--disable-permissions',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue