michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android': michael@0: if CONFIG['MOZ_UPDATER'] or CONFIG['MOZ_MAINTENANCE_SERVICE']: michael@0: # If only the maintenance service is installed and not michael@0: # the updater, then the maintenance service may still be michael@0: # used for other things. We need to build update/common michael@0: # which the maintenance service uses. michael@0: DIRS += ['common'] michael@0: if CONFIG['OS_ARCH'] == 'WINNT': michael@0: DIRS += ['common-standalone'] michael@0: michael@0: if CONFIG['MOZ_UPDATER']: michael@0: DIRS += ['updater'] michael@0: michael@0: XPIDL_MODULE = 'update' michael@0: michael@0: XPCSHELL_TESTS_MANIFESTS += ['tests/unit_timermanager/xpcshell.ini'] michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsIUpdateTimerManager.idl', michael@0: ] michael@0: michael@0: EXTRA_COMPONENTS += [ michael@0: 'nsUpdateTimerManager.js', michael@0: 'nsUpdateTimerManager.manifest', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_UPDATER']: michael@0: TEST_DIRS += ['tests'] michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsIUpdateService.idl', michael@0: ] michael@0: michael@0: EXTRA_COMPONENTS += [ michael@0: 'nsUpdateService.manifest', michael@0: ] michael@0: michael@0: EXTRA_PP_COMPONENTS += [ michael@0: 'nsUpdateService.js', michael@0: 'nsUpdateServiceStub.js', michael@0: ] michael@0: michael@0: JAR_MANIFESTS += ['jar.mn']