xpcom/components/moz.build
author Masatoshi Kimura <VYV03354@nifty.ne.jp>
Fri, 22 Nov 2013 12:35:42 +0900
changeset 156991 01e15a1abbb1442f5db4f33203d8cca0bae4c554
parent 156273 0d469a8e2208b95097308da1128d0ec59ff63f78
child 157264 9c7abb00b6973ff43cb39ef5938229a9ffcd8990
permissions -rw-r--r--
Bug 925599 - Replace GetVersion() uses. r=bsmedberg

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

XPIDL_SOURCES += [
    'nsICategoryManager.idl',
    'nsIClassInfo.idl',
    'nsIComponentManager.idl',
    'nsIComponentRegistrar.idl',
    'nsIFactory.idl',
    'nsIModule.idl',
    'nsIServiceManager.idl',
]

XPIDL_MODULE = 'xpcom_components'

EXPORTS += [
    'nsCategoryManagerUtils.h',
]

EXPORTS.mozilla += [
    'Module.h',
    'ModuleLoader.h',
    'ModuleUtils.h',
]

# These two files cannot be built in unified mode because they use the
# PL_ARENA_CONST_ALIGN_MASK macro with plarena.h.
SOURCES += [
    'nsCategoryManager.cpp',
    'nsComponentManager.cpp',
]

UNIFIED_SOURCES += [
    'ManifestParser.cpp',
    'nsNativeComponentLoader.cpp',
]

MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xpcom_core'