diff options
Diffstat (limited to 'netwerk/sctp/src/moz.build')
-rw-r--r-- | netwerk/sctp/src/moz.build | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/netwerk/sctp/src/moz.build b/netwerk/sctp/src/moz.build index f24702feef..40a91eec1a 100644 --- a/netwerk/sctp/src/moz.build +++ b/netwerk/sctp/src/moz.build @@ -34,11 +34,6 @@ SOURCES += [ 'user_socket.c', ] -if CONFIG['OS_TARGET'] == 'Android': - SOURCES += [ - 'ifaddrs_android.cpp', - ] - Library('nksctp_s') include('/ipc/chromium/chromium-config.mozbuild') @@ -58,16 +53,11 @@ for var in ('SCTP_SIMPLE_ALLOCATOR', 'CALLBACK_API', 'SCTP_DEBUG'): DEFINES[var] = 1 -# Android NDK r5c, used on the builders at the time of this writing, doesn't -# have the headers we need for IPv6 -if CONFIG['OS_TARGET'] != 'Android': - DEFINES['INET6'] = 1 +DEFINES['INET6'] = 1 if CONFIG['OS_TARGET'] == 'WINNT': DEFINES['__Userspace_os_Windows'] = 1 DEFINES['_LIB'] = 1 -elif CONFIG['OS_TARGET'] == 'Android': - DEFINES['__Userspace_os_Linux'] = 1 else: DEFINES['__Userspace_os_%s' % CONFIG['OS_TARGET']] = 1 @@ -75,7 +65,7 @@ if CONFIG['OS_TARGET'] == 'Darwin': DEFINES['__APPLE_USE_RFC_2292'] = 1 DEFINES['__APPLE__'] = False -if CONFIG['OS_TARGET'] in ('Linux', 'Android'): +if CONFIG['OS_TARGET'] == 'Linux': # to make sure that in6_pktinfo gets defined on all distros DEFINES['_GNU_SOURCE'] = True |