Issue #1342 - Remove support for system libevent

This commit is contained in:
wolfbeast 2020-01-23 13:08:02 +01:00 • committed by Roy Tam
commit 25ae10aaec
8 changed files with 4 additions and 55 deletions

View file

@ -58,7 +58,7 @@ if os_win:
'src/chrome/common/process_watcher_win.cc',
'src/chrome/common/transport_dib_win.cc',
]
elif not CONFIG['MOZ_SYSTEM_LIBEVENT']:
else:
DIRS += ['src/third_party']
if os_posix:
@ -143,9 +143,9 @@ if os_solaris:
'src/base/atomicops_internals_x86_gcc.cc',
'src/base/process_util_linux.cc',
'src/base/time_posix.cc',
]
]
elif not CONFIG['MOZ_SYSTEM_LIBEVENT']:
else:
LOCAL_INCLUDES += ['src/third_party/libevent/linux']
ost = CONFIG['OS_TEST']

View file

@ -32,7 +32,7 @@ else:
else:
libevent_include_suffix = 'linux'
if os_posix and not CONFIG['MOZ_SYSTEM_LIBEVENT']:
if os_posix:
DEFINES['HAVE_CONFIG_H'] = True
LOCAL_INCLUDES += sorted([
'libevent',

View file

@ -10,9 +10,6 @@ include(libevent_path_prefix + '/libeventcommon.mozbuild')
if os_win:
error('should not reach here on Windows')
if CONFIG['MOZ_SYSTEM_LIBEVENT']:
error('should not reach here if we are using a native libevent')
UNIFIED_SOURCES += [
'libevent/buffer.c',
'libevent/bufferevent.c',