1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xpcom/components/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,55 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +XPIDL_SOURCES += [ 1.11 + 'nsICategoryManager.idl', 1.12 + 'nsIClassInfo.idl', 1.13 + 'nsIComponentManager.idl', 1.14 + 'nsIComponentRegistrar.idl', 1.15 + 'nsIFactory.idl', 1.16 + 'nsIModule.idl', 1.17 + 'nsIServiceManager.idl', 1.18 +] 1.19 + 1.20 +XPIDL_MODULE = 'xpcom_components' 1.21 + 1.22 +EXPORTS += [ 1.23 + 'nsCategoryManagerUtils.h', 1.24 +] 1.25 + 1.26 +EXPORTS.mozilla += [ 1.27 + 'Module.h', 1.28 + 'ModuleLoader.h', 1.29 + 'ModuleUtils.h', 1.30 +] 1.31 + 1.32 +# nsCategoryManager.cpp and nsComponentManager.cpp cannot be built in 1.33 +# unified mode because they use thea PL_ARENA_CONST_ALIGN_MASK macro 1.34 +# with plarena.h. 1.35 +# nsNativeComponentLoader.cpp cannot be built in unified mode because it 1.36 +# forces NSPR logging. 1.37 +SOURCES += [ 1.38 + 'ManifestParser.cpp', 1.39 + 'nsCategoryManager.cpp', 1.40 + 'nsComponentManager.cpp', 1.41 + 'nsNativeComponentLoader.cpp', 1.42 +] 1.43 + 1.44 +FAIL_ON_WARNINGS = True 1.45 + 1.46 +MSVC_ENABLE_PGO = True 1.47 + 1.48 +FINAL_LIBRARY = 'xpcom_core' 1.49 + 1.50 +GENERATED_INCLUDES += ['..'] 1.51 +LOCAL_INCLUDES += [ 1.52 + '../base', 1.53 + '../build', 1.54 + '../ds', 1.55 + '../reflect/xptinfo/src', 1.56 + '/chrome/src', 1.57 + '/modules/libjar', 1.58 +]