mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
81d61fa324
- Bug 1265036 - Use NS_ABORT_OOM() if try_realloc() fails. r=billm (c30f4f83d5) - Bug 1263292 - Handle calling realloc(0) (r=jld) (f292859ee9) - Bug 1256366 - Remove linear and exponential stats collection from histogram.cc. r=gfritzsche (f9a1c869a1) - Bug 1263953 - Reduce the growth rate of Pickle. r=wmccloskey (6eb5228490) - Bug 1233275 - Copy environment for IPC using NSPR. r=jld (2004db748e) - Bug 1261094 - Improve how MessageChannel::mInterruptStack is used in IPC code, r=jld (56e2c114a4) - Bug 1246931: Include dbus.h in DBus IPC headers, r=shuang (43e797c2d8) - Bug 1264887: Make DBus helpers available on desktop builds, r=shuang (58bff1f640) - Bug 1268130, part 1 - Reimplement ByteLengthIsValid using CheckedInt. r=froydnj (6018e22ae0) - Bug 1268130, part 2 - Make ByteLengthIsValid failures fatal in release builds. r=froydnj (f9d934a498) - Bug 1269365, part 1 - Swap fallible and infallible TArray ParamTraits. r=froydnj (ad423bc04d) - Bug 1269365, part 2 - Make ParamTraits<nsTArray<E>>::Read use infallible allocation. r=froydnj (9b902a5bc4) - Bug 1269365, part 3 - Use infallible array allocation in implementSpecialArrayPickling. r=froydnj (592fe648d3) - Bug 1264820 - Measure IPC reply size in telemetry (r=mccr8) (62c54d3141) - Bug 1268938 - Use the name of the original message in Send for reply telemetry. r=billm (a2de5c6a91) - Bug 1266954: Remove temporary |ScopedClose| from PDU receive code, r=jacheng (cb06315c33) - Bug 1142109 - Fix IPDL tests (r=dvander) (df3f0cda32) - Bug 1177013 - Fix IPDL tests for not allowing CPOWs during sync (r=dvander) (5da0a8a4c9) - Bug 1261307: Convert RIL sockets to |UniquePtr|, r=nfroyd (08609783b3) - Bug 1253622 - Move the mozilla-trace.h generation into moz.build; r=ted (f01dc418bc) - Bug 1267318 ignore cert expiration for mozilla-signed packages, r=dkeeler (7a1ddd6090) - Bug 1029173 - Clean up nsDataSignatureVerifier. r=keeler (f9602341ea) - bug 1267463 - add a more nuanced subject common name fallback option for prerelease channels r=Cykesiopka,jcj (9b55320c9b) - Bug 1253108 - Enable ESLint "strict" rule for PSM. r=keeler (54802bdc38) - Bug 1255425 - part 1 - clearly delineate steps when outputting HSTS preload list; r=keeler (79f73189c8) - Bug 1251801 - Fully implement nsNSSShutDownObject and obviate manual NSS resource management. r=keeler (af32315d3f) - Bug 1251801 - Improve handling of PK11_* function error codes. r=keeler (9f2c8ac64b) - Fix unified-build bustage from bug 1264706. r=bustage (11bc0417c7) - Bug 1265164 - Always use nsCOMPtrs with getNSSDialogs(). r=keeler (ce5a703972)
190 lines
4.7 KiB
INI
190 lines
4.7 KiB
INI
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
EXPORTS += [
|
|
'nsIIPCBackgroundChildCreateCallback.h',
|
|
'nsIIPCSerializableInputStream.h',
|
|
'nsIIPCSerializableURI.h',
|
|
]
|
|
|
|
EXPORTS.mozilla.ipc += [
|
|
'BackgroundChild.h',
|
|
'BackgroundParent.h',
|
|
'BackgroundUtils.h',
|
|
'BrowserProcessSubThread.h',
|
|
'CrossProcessMutex.h',
|
|
'FileDescriptor.h',
|
|
'FileDescriptorSetChild.h',
|
|
'FileDescriptorSetParent.h',
|
|
'FileDescriptorUtils.h',
|
|
'GeckoChildProcessHost.h',
|
|
'InputStreamUtils.h',
|
|
'IOThreadChild.h',
|
|
'MessageChannel.h',
|
|
'MessageLink.h',
|
|
'Neutering.h',
|
|
'ProcessChild.h',
|
|
'ProtocolUtils.h',
|
|
'ScopedXREEmbed.h',
|
|
'SharedMemory.h',
|
|
'SharedMemoryBasic.h',
|
|
'Shmem.h',
|
|
'Transport.h',
|
|
'URIUtils.h',
|
|
'WindowsMessageLoop.h',
|
|
]
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
DEFINES['WEBRTC_WIN'] = True
|
|
EXPORTS.mozilla.ipc += [
|
|
'Transport_win.h',
|
|
]
|
|
SOURCES += [
|
|
'SharedMemory_windows.cpp',
|
|
'Transport_win.cpp',
|
|
'WindowsMessageLoop.cpp',
|
|
]
|
|
else:
|
|
DEFINES['WEBRTC_POSIX'] = True
|
|
EXPORTS.mozilla.ipc += [
|
|
'Transport_posix.h',
|
|
]
|
|
UNIFIED_SOURCES += [
|
|
'SharedMemory_posix.cpp',
|
|
'Transport_posix.cpp',
|
|
]
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
SOURCES += [
|
|
'CrossProcessMutex_windows.cpp',
|
|
]
|
|
elif not CONFIG['OS_ARCH'] in ('NetBSD', 'OpenBSD'):
|
|
UNIFIED_SOURCES += [
|
|
'CrossProcessMutex_posix.cpp',
|
|
]
|
|
else:
|
|
UNIFIED_SOURCES += [
|
|
'CrossProcessMutex_unimplemented.cpp',
|
|
]
|
|
|
|
# Android has its own,
|
|
# almost-but-not-quite-compatible-with-POSIX-or-/dev/shm shared memory
|
|
# impl.
|
|
if CONFIG['OS_TARGET'] == 'Android':
|
|
EXPORTS.mozilla.ipc += ['SharedMemoryBasic_android.h']
|
|
UNIFIED_SOURCES += [
|
|
'SharedMemoryBasic_android.cpp',
|
|
]
|
|
elif CONFIG['OS_ARCH'] == 'Darwin':
|
|
EXPORTS.mozilla.ipc += ['SharedMemoryBasic_mach.h']
|
|
SOURCES += [
|
|
'SharedMemoryBasic_mach.mm',
|
|
]
|
|
else:
|
|
EXPORTS.mozilla.ipc += ['SharedMemoryBasic_chromium.h']
|
|
|
|
if CONFIG['OS_ARCH'] == 'Linux':
|
|
UNIFIED_SOURCES += [
|
|
'ProcessUtils_linux.cpp',
|
|
]
|
|
elif CONFIG['OS_ARCH'] in ('DragonFly', 'FreeBSD', 'NetBSD', 'OpenBSD'):
|
|
UNIFIED_SOURCES += [
|
|
'ProcessUtils_bsd.cpp'
|
|
]
|
|
elif CONFIG['OS_ARCH'] == 'Darwin':
|
|
UNIFIED_SOURCES += [
|
|
'ProcessUtils_mac.mm'
|
|
]
|
|
else:
|
|
UNIFIED_SOURCES += [
|
|
'ProcessUtils_none.cpp',
|
|
]
|
|
|
|
EXPORTS.ipc += [
|
|
'IPCMessageUtils.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'BackgroundImpl.cpp',
|
|
'BackgroundUtils.cpp',
|
|
'BrowserProcessSubThread.cpp',
|
|
'FileDescriptor.cpp',
|
|
'FileDescriptorUtils.cpp',
|
|
'InputStreamUtils.cpp',
|
|
'IPCMessageUtils.cpp',
|
|
'MessageChannel.cpp',
|
|
'MessageLink.cpp',
|
|
'MessagePump.cpp',
|
|
'ProcessChild.cpp',
|
|
'ProtocolUtils.cpp',
|
|
'ScopedXREEmbed.cpp',
|
|
'SharedMemory.cpp',
|
|
'Shmem.cpp',
|
|
'StringUtil.cpp',
|
|
]
|
|
|
|
# GeckoChildProcessHost.cpp cannot be built in unified mode because it uses plarena.h.
|
|
# URIUtils.cpp cannot be built in unified mode because of name clashes on strdup.
|
|
SOURCES += [
|
|
'BackgroundChildImpl.cpp',
|
|
'BackgroundParentImpl.cpp',
|
|
'FileDescriptorSetChild.cpp',
|
|
'FileDescriptorSetParent.cpp',
|
|
'GeckoChildProcessHost.cpp',
|
|
'URIUtils.cpp',
|
|
]
|
|
|
|
if CONFIG['_MSC_VER']:
|
|
# This is intended as a temporary hack to support building with VS2015.
|
|
# 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
|
|
SOURCES['BackgroundChildImpl.cpp'].flags += ['-wd4312']
|
|
SOURCES['BackgroundParentImpl.cpp'].flags += ['-wd4312']
|
|
|
|
LOCAL_INCLUDES += [
|
|
'/caps',
|
|
'/dom/broadcastchannel',
|
|
'/dom/indexedDB',
|
|
'/dom/workers',
|
|
'/media/webrtc/trunk',
|
|
'/xpcom/build',
|
|
]
|
|
|
|
IPDL_SOURCES = [
|
|
'InputStreamParams.ipdlh',
|
|
'PBackground.ipdl',
|
|
'PBackgroundSharedTypes.ipdlh',
|
|
'PBackgroundTest.ipdl',
|
|
'PFileDescriptorSet.ipdl',
|
|
'PProcLoader.ipdl',
|
|
'ProtocolTypes.ipdlh',
|
|
'URIParams.ipdlh',
|
|
]
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
'/toolkit/xre',
|
|
'/xpcom/threads',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
for var in ('MOZ_CHILD_PROCESS_NAME', 'MOZ_CHILD_PROCESS_NAME_PIE',
|
|
'MOZ_CHILD_PROCESS_BUNDLE', 'DLL_PREFIX', 'DLL_SUFFIX'):
|
|
DEFINES[var] = '"%s"' % CONFIG[var]
|
|
|
|
LOCAL_INCLUDES += [
|
|
'/toolkit/crashreporter',
|
|
]
|
|
|
|
if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_ARCH'] == 'WINNT':
|
|
LOCAL_INCLUDES += [
|
|
'/security/sandbox/chromium',
|
|
'/security/sandbox/chromium-shim',
|
|
'/security/sandbox/win/src/sandboxbroker',
|
|
]
|