Bug 564086, part n: Build new Transport code. r=bsmedberg

This commit is contained in:
Chris Jones 2011-06-03 13:33:56 -05:00
parent 9d7a73797a
commit c3142d4d19

View File

@ -68,8 +68,20 @@ EXPORTS_mozilla/ipc = \
Shmem.h \
SyncChannel.h \
ScopedXREEmbed.h \
Transport.h \
$(NULL)
ifeq ($(OS_ARCH),WINNT) #{
EXPORTS_mozilla/ipc += \
Transport_win.h \
$(NULL)
else
# POSIX
EXPORTS_mozilla/ipc += \
Transport_posix.h \
$(NULL)
endif #}
ifeq ($(OS_TARGET),Android)
# Android has its own,
# almost-but-not-quite-compatible-with-POSIX-or-/dev/shm shared memory
@ -93,15 +105,19 @@ CPPSRCS += \
SyncChannel.cpp \
$(NULL)
ifeq ($(OS_ARCH),WINNT)
ifeq ($(OS_ARCH),WINNT) #{
CPPSRCS += \
SharedMemory_windows.cpp \
Transport_win.cpp \
WindowsMessageLoop.cpp \
$(NULL)
else
# This generic code works on android.
CPPSRCS += SharedMemory_posix.cpp
endif
# POSIX
CPPSRCS += \
SharedMemory_posix.cpp \
Transport_posix.cpp \
$(NULL)
endif #}
ifeq ($(OS_TARGET),Android)
CPPSRCS += SharedMemoryBasic_android.cpp