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