зеркало из https://github.com/mozilla/gecko-dev.git
Bug 800154 - Refactor how services/ integrates with build system; r=glandium
We now have MOZ_SERVICES_COMMON and MOZ_SERVICES_CRYPTO to control inclusion of services/common and services/crypto, respectively.
This commit is contained in:
Родитель
f395c43416
Коммит
0c9a888a7c
|
@ -18,9 +18,7 @@ ifdef MOZ_EXTENSIONS
|
|||
tier_app_dirs += extensions
|
||||
endif
|
||||
|
||||
ifdef MOZ_SERVICES_SYNC
|
||||
tier_app_dirs += services
|
||||
endif
|
||||
|
||||
tier_app_dirs += \
|
||||
$(MOZ_BRANDING_DIRECTORY) \
|
||||
|
|
|
@ -17,7 +17,7 @@ MOZ_OFFICIAL_BRANDING_DIRECTORY=b2g/branding/official
|
|||
# MOZ_APP_DISPLAYNAME is set by branding/configure.sh
|
||||
|
||||
MOZ_SAFE_BROWSING=
|
||||
MOZ_SERVICES_SYNC=
|
||||
MOZ_SERVICES_COMMON=1
|
||||
|
||||
MOZ_WEBSMS_BACKEND=1
|
||||
MOZ_DISABLE_DOMCRYPTO=1
|
||||
|
|
|
@ -19,6 +19,8 @@ MOZ_STUB_INSTALLER=1
|
|||
MOZ_CHROME_FILE_FORMAT=omni
|
||||
MOZ_SAFE_BROWSING=1
|
||||
MOZ_SERVICES_AITC=1
|
||||
MOZ_SERVICES_COMMON=1
|
||||
MOZ_SERVICES_CRYPTO=1
|
||||
MOZ_SERVICES_NOTIFICATIONS=1
|
||||
MOZ_SERVICES_SYNC=1
|
||||
MOZ_APP_VERSION=$FIREFOX_VERSION
|
||||
|
|
12
configure.in
12
configure.in
|
@ -8240,6 +8240,18 @@ if test -n "$MOZ_SERVICES_AITC"; then
|
|||
AC_DEFINE(MOZ_SERVICES_AITC)
|
||||
fi
|
||||
|
||||
dnl Build Common JS modules provided by services.
|
||||
AC_SUBST(MOZ_SERVICES_COMMON)
|
||||
if test -n "$MOZ_SERVICES_COMMON"; then
|
||||
AC_DEFINE(MOZ_SERVICES_COMMON)
|
||||
fi
|
||||
|
||||
dnl Build Services crypto component (used by Sync)
|
||||
AC_SUBST(MOZ_SERVICES_CRYPTO)
|
||||
if test -n "$MOZ_SERVICES_CRYPTO"; then
|
||||
AC_DEFINE(MOZ_SERVICES_CRYPTO)
|
||||
fi
|
||||
|
||||
dnl Build Notifications if required
|
||||
AC_SUBST(MOZ_SERVICES_NOTIFICATIONS)
|
||||
if test -n "$MOZ_SERVICES_NOTIFICATIONS"; then
|
||||
|
|
|
@ -12,6 +12,9 @@ MOZ_OFFICIAL_BRANDING_DIRECTORY=mobile/xul/branding/official
|
|||
# MOZ_APP_DISPLAYNAME is set by branding/configure.sh
|
||||
|
||||
MOZ_SAFE_BROWSING=
|
||||
|
||||
MOZ_SERVICES_COMMON=1
|
||||
MOZ_SERVICES_CRYPTO=1
|
||||
MOZ_SERVICES_SYNC=1
|
||||
|
||||
MOZ_DISABLE_DOMCRYPTO=1
|
||||
|
|
|
@ -10,7 +10,13 @@ VPATH = @srcdir@
|
|||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
PARALLEL_DIRS += common crypto
|
||||
ifdef MOZ_SERVICES_COMMON
|
||||
PARALLEL_DIRS += common
|
||||
endif
|
||||
|
||||
ifdef MOZ_SERVICES_CRYPTO
|
||||
PARALLEL_DIRS += crypto
|
||||
endif
|
||||
|
||||
ifdef MOZ_SERVICES_AITC
|
||||
PARALLEL_DIRS += aitc
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# 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/.
|
||||
|
|
Загрузка…
Ссылка в новой задаче