mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 564086, part n: Build new Transport code. r=bsmedberg
This commit is contained in:
parent
9d7a73797a
commit
c3142d4d19
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user