Initial part of bug 617906 - Turn on IPC/OOPP in Thunderbird builds - add initial build config for correctly packaging IPC bits when we turn it on. rs=Callek
This commit is contained in:
Родитель
485c763849
Коммит
caf69e30f9
|
@ -658,3 +658,18 @@ pref("places.frecency.unvisitedBookmarkBonus", 140);
|
|||
pref("places.frecency.unvisitedTypedBonus", 200);
|
||||
|
||||
pref("browser.urlbar.restrict.openpage", "%");
|
||||
|
||||
// The default for this pref reflects whether the build is capable of IPC.
|
||||
// (Turning it on in a no-IPC build will have no effect.)
|
||||
#ifdef XP_MACOSX
|
||||
// i386 ipc preferences
|
||||
pref("dom.ipc.plugins.enabled.i386", false);
|
||||
pref("dom.ipc.plugins.enabled.i386.flash player.plugin", true);
|
||||
pref("dom.ipc.plugins.enabled.i386.javaplugin2_npapi.plugin", true);
|
||||
// x86_64 ipc preferences
|
||||
pref("dom.ipc.plugins.enabled.x86_64", true);
|
||||
#elifdef MOZ_IPC
|
||||
pref("dom.ipc.plugins.enabled", true);
|
||||
#else
|
||||
pref("dom.ipc.plugins.enabled", false);
|
||||
#endif
|
||||
|
|
|
@ -80,6 +80,11 @@ ifdef MOZ_UPDATER
|
|||
DEFINES += -DMOZ_UPDATER=1
|
||||
endif
|
||||
|
||||
ifdef MOZ_IPC
|
||||
include $(MOZILLA_SRCDIR)/ipc/app/defs.mk
|
||||
DEFINES += -DMOZ_CHILD_PROCESS_NAME=$(MOZ_CHILD_PROCESS_NAME)
|
||||
endif
|
||||
|
||||
ifdef MOZ_PKG_MANIFEST_P
|
||||
MOZ_PKG_MANIFEST = package-manifest
|
||||
|
||||
|
|
|
@ -40,9 +40,6 @@
|
|||
@BINPATH@/@DLL_PREFIX@nspr4@DLL_SUFFIX@
|
||||
@BINPATH@/@DLL_PREFIX@plc4@DLL_SUFFIX@
|
||||
@BINPATH@/@DLL_PREFIX@plds4@DLL_SUFFIX@
|
||||
#ifdef MOZ_IPC
|
||||
@BINPATH@/mozilla-runtime@BIN_SUFFIX@
|
||||
#endif
|
||||
#ifndef MOZ_STATIC_JS
|
||||
@BINPATH@/@DLL_PREFIX@mozjs@DLL_SUFFIX@
|
||||
#endif
|
||||
|
@ -73,6 +70,13 @@
|
|||
#else
|
||||
@BINPATH@/@DLL_PREFIX@xul@DLL_SUFFIX@
|
||||
#endif
|
||||
#ifdef MOZ_IPC
|
||||
#ifdef XP_MACOSX
|
||||
@BINPATH@/@MOZ_CHILD_PROCESS_NAME@.app/
|
||||
#else
|
||||
@BINPATH@/@MOZ_CHILD_PROCESS_NAME@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
; Modules
|
||||
@BINPATH@/modules/*
|
||||
|
@ -131,6 +135,9 @@
|
|||
; interfaces.manifest doesn't get packaged because it is dynamically
|
||||
; re-created at packaging time when linking the xpts that will actually
|
||||
; go into the package, so the test related interfaces aren't included.
|
||||
#ifdef MOZ_IPC
|
||||
@BINPATH@/components/jetpack.xpt
|
||||
#endif
|
||||
@BINPATH@/components/mime.xpt
|
||||
@BINPATH@/components/steel.xpt
|
||||
@BINPATH@/components/msgAsyncPrompter.js
|
||||
|
@ -146,6 +153,10 @@
|
|||
@BINPATH@/components/impComm4xMail.xpt
|
||||
@BINPATH@/components/mailview.xpt
|
||||
@BINPATH@/components/mailprofilemigration.xpt
|
||||
#ifdef MOZ_IPC
|
||||
@BINPATH@/components/messageWakeupService.js
|
||||
@BINPATH@/components/messageWakeupService.manifest
|
||||
#endif
|
||||
@BINPATH@/components/nsActivity.js
|
||||
@BINPATH@/components/nsActivityManager.js
|
||||
@BINPATH@/components/nsActivityManagerUI.js
|
||||
|
|
|
@ -216,9 +216,7 @@ license.html
|
|||
LICENSE.txt
|
||||
modules/JSON.jsm
|
||||
modules/quickSearchManager.js
|
||||
#ifndef MOZ_IPC
|
||||
mozilla-runtime@BIN_SUFFIX@
|
||||
#endif
|
||||
mozilla-runtime@BIN_SUFFIX@
|
||||
#ifdef XP_MACOSX
|
||||
../Plug-Ins/PrintPDE.plugin/Contents/Info.plist
|
||||
../Plug-Ins/PrintPDE.plugin/Contents/MacOS/PrintPDE
|
||||
|
|
Загрузка…
Ссылка в новой задаче