michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsICategoryManager.idl', michael@0: 'nsIClassInfo.idl', michael@0: 'nsIComponentManager.idl', michael@0: 'nsIComponentRegistrar.idl', michael@0: 'nsIFactory.idl', michael@0: 'nsIModule.idl', michael@0: 'nsIServiceManager.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'xpcom_components' michael@0: michael@0: EXPORTS += [ michael@0: 'nsCategoryManagerUtils.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla += [ michael@0: 'Module.h', michael@0: 'ModuleLoader.h', michael@0: 'ModuleUtils.h', michael@0: ] michael@0: michael@0: # nsCategoryManager.cpp and nsComponentManager.cpp cannot be built in michael@0: # unified mode because they use thea PL_ARENA_CONST_ALIGN_MASK macro michael@0: # with plarena.h. michael@0: # nsNativeComponentLoader.cpp cannot be built in unified mode because it michael@0: # forces NSPR logging. michael@0: SOURCES += [ michael@0: 'ManifestParser.cpp', michael@0: 'nsCategoryManager.cpp', michael@0: 'nsComponentManager.cpp', michael@0: 'nsNativeComponentLoader.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: FINAL_LIBRARY = 'xpcom_core' michael@0: michael@0: GENERATED_INCLUDES += ['..'] michael@0: LOCAL_INCLUDES += [ michael@0: '../base', michael@0: '../build', michael@0: '../ds', michael@0: '../reflect/xptinfo/src', michael@0: '/chrome/src', michael@0: '/modules/libjar', michael@0: ]