1
# This Source Code Form is subject to the terms of the Mozilla Public
2
# License, v. 2.0. If a copy of the MPL was not distributed with this
3
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
topsrcdir = @top_srcdir@
10
include $(DEPTH)/config/autoconf.mk
14
XPIDLSRCS = nsIUpdateTimerManager.idl
17
nsUpdateTimerManager.js \
18
nsUpdateTimerManager.manifest \
22
ifneq (android,$(MOZ_WIDGET_TOOLKIT))
27
XPIDLSRCS += nsIUpdateService.idl
29
EXTRA_PP_COMPONENTS += \
31
nsUpdateServiceStub.js \
35
nsUpdateService.manifest \
40
# If only the maintenance service is installed and not
41
# the updater, then the maintenance service may still be
42
# used for other things. We need to build update/common
43
# which the maintenance service uses.
44
ifdef MOZ_MAINTENANCE_SERVICE
45
ifneq (android,$(MOZ_WIDGET_TOOLKIT))
51
TEST_DIRS += test_timermanager
52
# Update tests require the updater binary
55
ifdef MOZ_MAINTENANCE_SERVICE
60
include $(topsrcdir)/config/rules.mk