diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-04-05 06:02:02 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-04-05 06:02:02 -0400 |
commit | 5593323410b2373ef7c4abcc4826d85e573a13fc (patch) | |
tree | a3d53a8160cdd50cf8eef491310af5c73ae3fe3b | |
parent | 86f601589431c500a1a299000a3eac34d5b0247d (diff) | |
download | UXP-5593323410b2373ef7c4abcc4826d85e573a13fc.tar UXP-5593323410b2373ef7c4abcc4826d85e573a13fc.tar.gz UXP-5593323410b2373ef7c4abcc4826d85e573a13fc.tar.lz UXP-5593323410b2373ef7c4abcc4826d85e573a13fc.tar.xz UXP-5593323410b2373ef7c4abcc4826d85e573a13fc.zip |
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
-rw-r--r-- | application/palemoon/confvars.sh | 2 | ||||
-rw-r--r-- | application/palemoon/moz.configure | 5 | ||||
-rwxr-xr-x | browser/confvars.sh | 3 | ||||
-rw-r--r-- | browser/moz.configure | 5 | ||||
-rw-r--r-- | old-configure.in | 42 | ||||
-rw-r--r-- | toolkit/moz.configure | 24 |
6 files changed, 45 insertions, 36 deletions
diff --git a/application/palemoon/confvars.sh b/application/palemoon/confvars.sh index 705f992ee..560eb1cec 100644 --- a/application/palemoon/confvars.sh +++ b/application/palemoon/confvars.sh @@ -70,8 +70,6 @@ MOZ_PHOENIX_EXTENSIONS=1 # Platform Feature: Sync Service MOZ_SERVICES_COMMON=1 MOZ_SERVICES_SYNC=1 -MOZ_SERVICES_FXACCOUNTS=1 -MOZ_SERVICES_CRYPTO=1 # Platform Feature: JS based Downloads Manager MOZ_JSDOWNLOADS=1 diff --git a/application/palemoon/moz.configure b/application/palemoon/moz.configure index 631980d15..72236254f 100644 --- a/application/palemoon/moz.configure +++ b/application/palemoon/moz.configure @@ -4,9 +4,4 @@ # 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/. -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') diff --git a/browser/confvars.sh b/browser/confvars.sh index 8cdd6e1f3..03b4cea97 100755 --- a/browser/confvars.sh +++ b/browser/confvars.sh @@ -56,6 +56,9 @@ MOZ_JSDOWNLOADS=1 MOZ_WEBRTC=1 MOZ_WEBEXTENSIONS=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 MOZ_ADDON_SIGNING=0 diff --git a/browser/moz.configure b/browser/moz.configure index fba4603be..d5e7dba11 100644 --- a/browser/moz.configure +++ b/browser/moz.configure @@ -4,9 +4,4 @@ # 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/. -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') diff --git a/old-configure.in b/old-configure.in index e0d96f637..7c61ebf74 100644 --- a/old-configure.in +++ b/old-configure.in @@ -2312,6 +2312,11 @@ MOZ_BINARY_EXTENSIONS= MOZ_JETPACK=1 MOZ_DEVTOOLS_SERVER=1 MOZ_DEVTOOLS= +MOZ_PLACES=1 +MOZ_SOCIAL=1 +MOZ_SERVICES_HEALTHREPORT=1 +MOZ_SERVICES_SYNC=1 +MOZ_SERVICES_CLOUDSYNC=1 case "$target_os" in mingw*) @@ -5254,6 +5259,43 @@ if test "$ENABLE_MARIONETTE"; then 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 ======================================================== if test "$MOZ_DEBUG" -o "$MOZ_DMD"; then MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS= fi diff --git a/toolkit/moz.configure b/toolkit/moz.configure index 4717af022..c1e0880c9 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -444,34 +444,10 @@ def omnijar_name(toolkit): 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', help='Enable Android History instead of Places', 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 # ============================================================== option(name='--disable-permissions', |