From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- ipc/chromium/src/third_party/moz.build | 70 ++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 ipc/chromium/src/third_party/moz.build (limited to 'ipc/chromium/src/third_party/moz.build') diff --git a/ipc/chromium/src/third_party/moz.build b/ipc/chromium/src/third_party/moz.build new file mode 100644 index 0000000000..6572d01aa9 --- /dev/null +++ b/ipc/chromium/src/third_party/moz.build @@ -0,0 +1,70 @@ +# -*- Mode: python; 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/. + +libevent_path_prefix = '.' +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', + 'libevent/bufferevent_filter.c', + 'libevent/bufferevent_ratelim.c', + 'libevent/bufferevent_sock.c', + 'libevent/evdns.c', + 'libevent/event.c', + 'libevent/event_tagging.c', + 'libevent/evmap.c', + 'libevent/evthread.c', + # 'libevent/evthread_pthread.c', # Unused file. + 'libevent/evutil.c', + 'libevent/evutil_rand.c', + 'libevent/evutil_time.c', + 'libevent/http.c', + 'libevent/listener.c', + 'libevent/log.c', + 'libevent/poll.c', + 'libevent/select.c', + 'libevent/signal.c', + 'libevent/strlcpy.c', +] + +SOURCES += [ + 'libevent/bufferevent_pair.c', # conflicting types errors + # 'libevent/evrpc.c', # Unused file. # conflicting TAILQ_ENTRY definition +] + +if os_macosx or os_bsd: + UNIFIED_SOURCES += [ + 'libevent/kqueue.c', + ] + +if os_linux: + UNIFIED_SOURCES += [ + 'libevent/epoll.c', + ] + if CONFIG['OS_TARGET'] != 'Android': + UNIFIED_SOURCES += [ + 'libevent/epoll_sub.c', + ] + +if os_solaris: + SOURCES += [ + 'libevent/devpoll.c', + 'libevent/evport.c', + ] + +# We allow warnings for third-party code that can be updated from upstream. +AllowCompilerWarnings() + +Library('libevent') + +FINAL_LIBRARY = 'xul' -- cgit v1.2.3