2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:22 -08: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-19 11:47:00 -07:00
|
|
|
MODULE = 'ipc'
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'nsIIPCSerializableInputStream.h',
|
|
|
|
'nsIIPCSerializableURI.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.ipc += [
|
|
|
|
'AsyncChannel.h',
|
|
|
|
'BrowserProcessSubThread.h',
|
|
|
|
'CrossProcessMutex.h',
|
|
|
|
'FileDescriptor.h',
|
|
|
|
'FileDescriptorUtils.h',
|
|
|
|
'GeckoChildProcessHost.h',
|
|
|
|
'IOThreadChild.h',
|
|
|
|
'InputStreamUtils.h',
|
|
|
|
'ProcessChild.h',
|
|
|
|
'ProtocolUtils.h',
|
|
|
|
'RPCChannel.h',
|
|
|
|
'ScopedXREEmbed.h',
|
|
|
|
'SharedMemory.h',
|
|
|
|
'SharedMemoryBasic.h',
|
|
|
|
'SharedMemorySysV.h',
|
|
|
|
'Shmem.h',
|
|
|
|
'SyncChannel.h',
|
|
|
|
'Transport.h',
|
|
|
|
'URIUtils.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
EXPORTS.mozilla.ipc += [
|
|
|
|
'Transport_win.h',
|
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'SharedMemory_windows.cpp',
|
|
|
|
'Transport_win.cpp',
|
|
|
|
'WindowsMessageLoop.cpp',
|
|
|
|
'CrossProcessMutex_windows.cpp',
|
|
|
|
]
|
2013-04-16 12:24:43 -07:00
|
|
|
else:
|
|
|
|
EXPORTS.mozilla.ipc += [
|
|
|
|
'Transport_posix.h',
|
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'SharedMemory_posix.cpp',
|
|
|
|
'Transport_posix.cpp',
|
|
|
|
'CrossProcessMutex_unimplemented.cpp',
|
|
|
|
]
|
2013-04-16 12:24:43 -07:00
|
|
|
|
|
|
|
# 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']
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'SharedMemoryBasic_android.cpp',
|
|
|
|
]
|
2013-04-16 12:24:43 -07:00
|
|
|
else:
|
|
|
|
EXPORTS.mozilla.ipc += ['SharedMemoryBasic_chromium.h']
|
|
|
|
|
2013-04-23 14:54:15 -07:00
|
|
|
if CONFIG['OS_ARCH'] == 'Linux':
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'ProcessUtils_linux.cpp',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'ProcessUtils_none.cpp',
|
|
|
|
]
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS.ipc += [
|
|
|
|
'IPCMessageUtils.h',
|
|
|
|
]
|
|
|
|
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'AsyncChannel.cpp',
|
|
|
|
'BrowserProcessSubThread.cpp',
|
|
|
|
'FileDescriptor.cpp',
|
|
|
|
'FileDescriptorUtils.cpp',
|
|
|
|
'GeckoChildProcessHost.cpp',
|
|
|
|
'InputStreamUtils.cpp',
|
|
|
|
'MessagePump.cpp',
|
|
|
|
'ProcessChild.cpp',
|
|
|
|
'ProtocolUtils.cpp',
|
|
|
|
'RPCChannel.cpp',
|
|
|
|
'ScopedXREEmbed.cpp',
|
|
|
|
'SharedMemory.cpp',
|
|
|
|
'Shmem.cpp',
|
|
|
|
'StringUtil.cpp',
|
|
|
|
'SyncChannel.cpp',
|
|
|
|
'URIUtils.cpp',
|
|
|
|
]
|
|
|
|
|
2013-07-01 06:56:28 -07:00
|
|
|
IPDL_SOURCES = [
|
|
|
|
'InputStreamParams.ipdlh',
|
|
|
|
'URIParams.ipdlh',
|
|
|
|
]
|
2013-08-21 23:56:00 -07:00
|
|
|
|
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
|
2013-08-15 06:02:09 -07:00
|
|
|
LIBRARY_NAME = 'mozipc_s'
|
|
|
|
|