2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 13:19:09 -08:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
2014-01-07 20:14:08 -08:00
|
|
|
DIRS += ['internal']
|
2013-02-25 13:19:09 -08:00
|
|
|
TEST_DIRS += ['test']
|
2013-03-12 10:17:46 -07:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
2013-06-14 19:48:06 -07:00
|
|
|
'amIAddonManager.idl',
|
2014-06-21 11:54:28 -07:00
|
|
|
'amIAddonPathService.idl',
|
2013-03-12 10:17:46 -07:00
|
|
|
'amIWebInstaller.idl',
|
2013-10-23 16:05:43 -07:00
|
|
|
'amIWebInstallListener.idl',
|
2013-03-12 10:17:46 -07:00
|
|
|
]
|
|
|
|
|
2013-11-18 18:47:43 -08:00
|
|
|
XPIDL_MODULE = 'extensions'
|
2013-03-19 11:47:00 -07:00
|
|
|
|
2013-06-10 08:19:28 -07:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'addonManager.js',
|
|
|
|
'amContentHandler.js',
|
2013-12-11 18:08:00 -08:00
|
|
|
'amInstallTrigger.js',
|
2013-06-10 08:19:28 -07:00
|
|
|
'amWebInstallListener.js',
|
|
|
|
]
|
2013-06-14 11:07:19 -07:00
|
|
|
|
|
|
|
EXTRA_PP_COMPONENTS += [
|
|
|
|
'extensions.manifest',
|
|
|
|
'nsBlocklistService.js',
|
|
|
|
]
|
2013-06-17 12:22:56 -07:00
|
|
|
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'ChromeManifestParser.jsm',
|
2013-07-13 09:36:40 -07:00
|
|
|
'DeferredSave.jsm',
|
2013-06-17 12:22:56 -07:00
|
|
|
'LightweightThemeManager.jsm',
|
|
|
|
]
|
|
|
|
|
2013-08-02 00:03:25 -07:00
|
|
|
EXTRA_PP_JS_MODULES += [
|
2014-01-07 20:14:08 -08:00
|
|
|
'AddonManager.jsm'
|
2013-08-02 00:03:25 -07:00
|
|
|
]
|
|
|
|
|
2013-11-27 05:55:07 -08:00
|
|
|
if CONFIG['MOZ_UPDATE_CHANNEL'] not in ('aurora', 'beta', 'release', 'esr'):
|
|
|
|
DEFINES['MOZ_COMPATIBILITY_NIGHTLY'] = 1
|
|
|
|
|
|
|
|
# Additional debugging info is exposed in debug builds
|
2014-02-17 23:02:00 -08:00
|
|
|
if CONFIG['MOZ_EM_DEBUG']:
|
2013-11-27 05:55:07 -08:00
|
|
|
DEFINES['MOZ_EM_DEBUG'] = 1
|
2013-12-09 23:18:11 -08:00
|
|
|
|
2014-02-17 23:02:00 -08:00
|
|
|
JAR_MANIFESTS += ['jar.mn']
|
2014-06-21 11:54:28 -07:00
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'AddonPathService.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'AddonPathService.cpp'
|
|
|
|
]
|
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|