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: DIRS += ['internal'] michael@0: TEST_DIRS += ['test'] michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'amIAddonManager.idl', michael@0: 'amIWebInstaller.idl', michael@0: 'amIWebInstallListener.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'extensions' michael@0: michael@0: EXTRA_COMPONENTS += [ michael@0: 'addonManager.js', michael@0: 'amContentHandler.js', michael@0: 'amInstallTrigger.js', michael@0: 'amWebInstallListener.js', michael@0: ] michael@0: michael@0: EXTRA_PP_COMPONENTS += [ michael@0: 'extensions.manifest', michael@0: 'nsBlocklistService.js', michael@0: ] michael@0: michael@0: EXTRA_JS_MODULES += [ michael@0: 'ChromeManifestParser.jsm', michael@0: 'DeferredSave.jsm', michael@0: 'LightweightThemeManager.jsm', michael@0: ] michael@0: michael@0: EXTRA_PP_JS_MODULES += [ michael@0: 'AddonManager.jsm' michael@0: ] michael@0: michael@0: if CONFIG['MOZ_UPDATE_CHANNEL'] not in ('aurora', 'alpha', 'beta', 'release', 'esr'): michael@0: DEFINES['MOZ_COMPATIBILITY_NIGHTLY'] = 1 michael@0: michael@0: # Additional debugging info is exposed in debug builds michael@0: if CONFIG['MOZ_EM_DEBUG']: michael@0: DEFINES['MOZ_EM_DEBUG'] = 1 michael@0: michael@0: JAR_MANIFESTS += ['jar.mn']