2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:20:02 +00: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 17:17:46 +00:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsICategoryManager.idl',
|
|
|
|
'nsIClassInfo.idl',
|
|
|
|
'nsIComponentManager.idl',
|
|
|
|
'nsIComponentRegistrar.idl',
|
|
|
|
'nsIFactory.idl',
|
|
|
|
'nsIModule.idl',
|
|
|
|
'nsIServiceManager.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 05:00:00 +00:00
|
|
|
XPIDL_MODULE = 'xpcom_components'
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'nsCategoryManagerUtils.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'Module.h',
|
|
|
|
'ModuleLoader.h',
|
|
|
|
'ModuleUtils.h',
|
|
|
|
]
|
|
|
|
|
2013-11-24 06:29:24 +00: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.
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsCategoryManager.cpp',
|
|
|
|
'nsComponentManager.cpp',
|
2014-10-08 20:19:14 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'ManifestParser.cpp',
|
2014-07-28 17:15:57 +00:00
|
|
|
'nsNativeModuleLoader.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2014-01-27 19:46:25 +00:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-22 06:56:01 +00:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-02-18 14:01:06 +00:00
|
|
|
|
|
|
|
GENERATED_INCLUDES += ['..']
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../base',
|
|
|
|
'../build',
|
|
|
|
'../ds',
|
2014-06-30 15:39:45 +00:00
|
|
|
'../reflect/xptinfo',
|
2014-07-19 19:43:38 +00:00
|
|
|
'/chrome',
|
2014-02-18 14:01:06 +00:00
|
|
|
'/modules/libjar',
|
|
|
|
]
|
2014-07-24 15:55:33 +00:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_GTK']:
|
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|