# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- # 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/. # This is used in multiple places, so is defined here to avoid it getting # out of sync. DEFINES['MOZ_EXTENSIONS_DB_SCHEMA'] = 16 # Additional debugging info is exposed in debug builds if CONFIG['MOZ_EM_DEBUG']: DEFINES['MOZ_EM_DEBUG'] = 1 XPIDL_SOURCES += [ 'public/amIAddonManager.idl', 'public/amIAddonPathService.idl', 'public/amIWebInstaller.idl', 'public/amIWebInstallListener.idl', ] EXPORTS.mozilla += ['src/AddonPathService.h'] SOURCES += ['src/AddonPathService.cpp'] EXTRA_COMPONENTS += [ 'extensions.manifest', 'src/addonManager.js', 'src/amContentHandler.js', 'src/amInstallTrigger.js', 'src/amWebInstallListener.js', ] EXTRA_JS_MODULES += [ 'src/ChromeManifestParser.jsm', 'src/DeferredSave.jsm', 'src/LightweightThemeConsumer.jsm', 'src/LightweightThemeManager.jsm', ] EXTRA_PP_JS_MODULES += [ 'src/AddonManager.jsm', ] EXTRA_JS_MODULES.addons += [ 'src/AddonLogging.jsm', 'src/AddonRepository.jsm', 'src/AddonRepository_SQLiteMigrator.jsm', 'src/Content.js', 'src/LightweightThemeImageOptimizer.jsm', 'src/PluginProvider.jsm', 'src/SpellCheckDictionaryBootstrap.js', ] EXTRA_PP_JS_MODULES.addons += [ 'src/AddonUpdateChecker.jsm', 'src/XPIProvider.jsm', 'src/XPIProviderUtils.js', ] XPIDL_MODULE = 'extensions' FINAL_LIBRARY = 'xul' JAR_MANIFESTS += ['jar.mn']