diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /ipc/chromium/moz.build | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ipc/chromium/moz.build')
-rw-r--r-- | ipc/chromium/moz.build | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/ipc/chromium/moz.build b/ipc/chromium/moz.build index 56f24c24bb..429c068d34 100644 --- a/ipc/chromium/moz.build +++ b/ipc/chromium/moz.build @@ -39,7 +39,7 @@ UNIFIED_SOURCES += [ "src/mojo/core/ports/user_message.cc", ] -if os_win: +if CONFIG["TARGET_KERNEL"] == "WINNT": SOURCES += [ "src/base/condition_variable_win.cc", "src/base/lock_impl_win.cc", @@ -60,7 +60,7 @@ if os_win: elif not CONFIG["MOZ_SYSTEM_LIBEVENT"]: DIRS += ["src/third_party"] -if os_posix: +if CONFIG["TARGET_KERNEL"] != "WINNT": UNIFIED_SOURCES += [ "src/base/condition_variable_posix.cc", "src/base/lock_impl_posix.cc", @@ -75,12 +75,9 @@ if os_posix: "src/chrome/common/process_watcher_posix_sigchld.cc", ] -if os_macosx: +if CONFIG["TARGET_KERNEL"] == "Darwin": UNIFIED_SOURCES += [ - "src/base/chrome_application_mac.mm", - "src/base/mac_util.mm", "src/base/message_pump_mac.mm", - "src/base/process_util_mac.mm", "src/base/scoped_nsautorelease_pool.mm", "src/base/sys_string_conversions_mac.mm", "src/base/time_mac.cc", @@ -93,13 +90,25 @@ if os_macosx: "src/base/platform_thread_mac.mm", ] -if os_bsd: +if CONFIG["TARGET_OS"] == "OSX": + UNIFIED_SOURCES += [ + "src/base/chrome_application_mac.mm", + "src/base/mac_util.mm", + "src/base/process_util_mac.mm", + ] + +if CONFIG["TARGET_OS"] == "iOS": + UNIFIED_SOURCES += [ + "src/base/process_util_ios.cpp", + ] + +if CONFIG["TARGET_KERNEL"] in ("DragonFly", "FreeBSD", "NetBSD", "OpenBSD"): SOURCES += [ "src/base/process_util_linux.cc", "src/base/time_posix.cc", ] -if os_linux: +if CONFIG["TARGET_KERNEL"] == "Linux": SOURCES += [ "src/base/process_util_linux.cc", "src/base/set_process_title_linux.cc", @@ -112,17 +121,15 @@ if os_linux: DEFINES["ANDROID"] = True DEFINES["_POSIX_MONOTONIC_CLOCK"] = 0 -if os_bsd or os_linux: - if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": - SOURCES += [ - "src/base/message_pump_glib.cc", - ] - -if os_solaris: +if CONFIG["TARGET_KERNEL"] == "SunOS": SOURCES += [ "src/base/process_util_linux.cc", "src/base/time_posix.cc", ] +elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": + SOURCES += [ + "src/base/message_pump_glib.cc", + ] if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"] |