2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:20:02 +04: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/.
|
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsICategoryManager.idl',
|
|
|
|
'nsIClassInfo.idl',
|
|
|
|
'nsIComponentManager.idl',
|
|
|
|
'nsIComponentRegistrar.idl',
|
|
|
|
'nsIFactory.idl',
|
|
|
|
'nsIModule.idl',
|
|
|
|
'nsIServiceManager.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'xpcom_components'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'nsCategoryManagerUtils.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'Module.h',
|
|
|
|
'ModuleLoader.h',
|
|
|
|
'ModuleUtils.h',
|
|
|
|
]
|
|
|
|
|
2013-11-24 10:29:24 +04:00
|
|
|
# nsCategoryManager.cpp and nsComponentManager.cpp cannot be built in
|
|
|
|
# unified mode because they use thea PL_ARENA_CONST_ALIGN_MASK macro
|
|
|
|
# with plarena.h.
|
|
|
|
# nsNativeComponentLoader.cpp cannot be built in unified mode because it
|
|
|
|
# forces NSPR logging.
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-11-24 10:29:24 +04:00
|
|
|
'ManifestParser.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsCategoryManager.cpp',
|
|
|
|
'nsComponentManager.cpp',
|
|
|
|
'nsNativeComponentLoader.cpp',
|
|
|
|
]
|
|
|
|
|
2014-01-27 23:46:25 +04:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-22 10:56:01 +04:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-11-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'xpcom_core'
|