gecko/ipc/glue/moz.build
Mike Shal 6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00

99 lines
2.3 KiB
Python

# -*- 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/.
MODULE = 'ipc'
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',
]
CPP_SOURCES += [
'SharedMemory_windows.cpp',
'Transport_win.cpp',
'WindowsMessageLoop.cpp',
'CrossProcessMutex_windows.cpp',
]
else:
EXPORTS.mozilla.ipc += [
'Transport_posix.h',
]
CPP_SOURCES += [
'SharedMemory_posix.cpp',
'Transport_posix.cpp',
'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']
CPP_SOURCES += [
'SharedMemoryBasic_android.cpp',
]
else:
EXPORTS.mozilla.ipc += ['SharedMemoryBasic_chromium.h']
if CONFIG['OS_ARCH'] == 'Linux':
CPP_SOURCES += [
'ProcessUtils_linux.cpp',
]
else:
CPP_SOURCES += [
'ProcessUtils_none.cpp',
]
EXPORTS.ipc += [
'IPCMessageUtils.h',
]
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',
]