1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/update/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,49 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android': 1.11 + if CONFIG['MOZ_UPDATER'] or CONFIG['MOZ_MAINTENANCE_SERVICE']: 1.12 + # If only the maintenance service is installed and not 1.13 + # the updater, then the maintenance service may still be 1.14 + # used for other things. We need to build update/common 1.15 + # which the maintenance service uses. 1.16 + DIRS += ['common'] 1.17 + if CONFIG['OS_ARCH'] == 'WINNT': 1.18 + DIRS += ['common-standalone'] 1.19 + 1.20 + if CONFIG['MOZ_UPDATER']: 1.21 + DIRS += ['updater'] 1.22 + 1.23 +XPIDL_MODULE = 'update' 1.24 + 1.25 +XPCSHELL_TESTS_MANIFESTS += ['tests/unit_timermanager/xpcshell.ini'] 1.26 + 1.27 +XPIDL_SOURCES += [ 1.28 + 'nsIUpdateTimerManager.idl', 1.29 +] 1.30 + 1.31 +EXTRA_COMPONENTS += [ 1.32 + 'nsUpdateTimerManager.js', 1.33 + 'nsUpdateTimerManager.manifest', 1.34 +] 1.35 + 1.36 +if CONFIG['MOZ_UPDATER']: 1.37 + TEST_DIRS += ['tests'] 1.38 + 1.39 + XPIDL_SOURCES += [ 1.40 + 'nsIUpdateService.idl', 1.41 + ] 1.42 + 1.43 + EXTRA_COMPONENTS += [ 1.44 + 'nsUpdateService.manifest', 1.45 + ] 1.46 + 1.47 + EXTRA_PP_COMPONENTS += [ 1.48 + 'nsUpdateService.js', 1.49 + 'nsUpdateServiceStub.js', 1.50 + ] 1.51 + 1.52 +JAR_MANIFESTS += ['jar.mn'] 1.53 \ No newline at end of file