Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley

--HG--
extra : rebase_source : d4baf7ddb95bb0217357b9eb9fabd2e08d37548a
This commit is contained in:
Ehsan Akhgari 2013-11-20 11:35:34 -05:00
Родитель feae914859
Коммит 64bc15535e
4 изменённых файлов: 14 добавлений и 4 удалений

Просмотреть файл

@ -4,6 +4,8 @@
# 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/.
# These files cannot be built in unified mode because they rely on plarena.h
# and they want to force NSPR logging.
SOURCES += [
'mozJSComponentLoader.cpp',
'mozJSLoaderUtils.cpp',

Просмотреть файл

@ -13,13 +13,12 @@ EXPORTS += [
'xpcpublic.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'nsCxPusher.cpp',
'nsScriptError.cpp',
'nsXPConnect.cpp',
'Sandbox.cpp',
'XPCCallContext.cpp',
'XPCComponents.cpp',
'XPCContext.cpp',
'XPCConvert.cpp',
'XPCDebug.cpp',
@ -48,6 +47,11 @@ SOURCES += [
'XPCWrapper.cpp',
]
# XPCComponents.cpp cannot be built in unified mode because it uses plarena.h.
SOURCES += [
'XPCComponents.cpp',
]
GENERATED_SOURCES += [
'DictionaryHelpers.cpp',
'dom_quickstubs.cpp',

Просмотреть файл

@ -6,7 +6,7 @@
NO_DIST_INSTALL = True
SOURCES += [
UNIFIED_SOURCES += [
'xpctest_attributes.cpp',
'xpctest_module.cpp',
'xpctest_params.cpp',

Просмотреть файл

@ -8,12 +8,16 @@ EXPORTS += [
'WrapperFactory.h',
]
SOURCES += [
UNIFIED_SOURCES += [
'AccessCheck.cpp',
'ChromeObjectWrapper.cpp',
'FilteringWrapper.cpp',
'WaiveXrayWrapper.cpp',
'WrapperFactory.cpp',
]
# XrayWrapper needs to be built separately becaue of template instantiations.
SOURCES += [
'XrayWrapper.cpp',
]