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