xpcom/components/moz.build

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:f043022248a3
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7 XPIDL_SOURCES += [
8 'nsICategoryManager.idl',
9 'nsIClassInfo.idl',
10 'nsIComponentManager.idl',
11 'nsIComponentRegistrar.idl',
12 'nsIFactory.idl',
13 'nsIModule.idl',
14 'nsIServiceManager.idl',
15 ]
16
17 XPIDL_MODULE = 'xpcom_components'
18
19 EXPORTS += [
20 'nsCategoryManagerUtils.h',
21 ]
22
23 EXPORTS.mozilla += [
24 'Module.h',
25 'ModuleLoader.h',
26 'ModuleUtils.h',
27 ]
28
29 # nsCategoryManager.cpp and nsComponentManager.cpp cannot be built in
30 # unified mode because they use thea PL_ARENA_CONST_ALIGN_MASK macro
31 # with plarena.h.
32 # nsNativeComponentLoader.cpp cannot be built in unified mode because it
33 # forces NSPR logging.
34 SOURCES += [
35 'ManifestParser.cpp',
36 'nsCategoryManager.cpp',
37 'nsComponentManager.cpp',
38 'nsNativeComponentLoader.cpp',
39 ]
40
41 FAIL_ON_WARNINGS = True
42
43 MSVC_ENABLE_PGO = True
44
45 FINAL_LIBRARY = 'xpcom_core'
46
47 GENERATED_INCLUDES += ['..']
48 LOCAL_INCLUDES += [
49 '../base',
50 '../build',
51 '../ds',
52 '../reflect/xptinfo/src',
53 '/chrome/src',
54 '/modules/libjar',
55 ]

mercurial