2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:20:02 +00: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 17:17:46 +00:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsICategoryManager.idl',
|
|
|
|
'nsIClassInfo.idl',
|
|
|
|
'nsIComponentManager.idl',
|
|
|
|
'nsIComponentRegistrar.idl',
|
|
|
|
'nsIFactory.idl',
|
|
|
|
'nsIModule.idl',
|
|
|
|
'nsIServiceManager.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 05:00:00 +00:00
|
|
|
XPIDL_MODULE = 'xpcom_components'
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'nsCategoryManagerUtils.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'Module.h',
|
|
|
|
'ModuleLoader.h',
|
|
|
|
'ModuleUtils.h',
|
|
|
|
]
|
|
|
|
|
2013-11-24 06:29:24 +00: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-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-11-24 06:29:24 +00:00
|
|
|
'ManifestParser.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsCategoryManager.cpp',
|
|
|
|
'nsComponentManager.cpp',
|
|
|
|
'nsNativeComponentLoader.cpp',
|
|
|
|
]
|
|
|
|
|
2014-01-27 19:46:25 +00:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-22 06:56:01 +00:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-11-19 02:47:14 +00:00
|
|
|
FINAL_LIBRARY = 'xpcom_core'
|
2014-02-18 14:01:06 +00:00
|
|
|
|
|
|
|
GENERATED_INCLUDES += ['..']
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../base',
|
|
|
|
'../build',
|
|
|
|
'../ds',
|
|
|
|
'../reflect/xptinfo/src',
|
|
|
|
'/chrome/src',
|
|
|
|
'/modules/libjar',
|
|
|
|
]
|