tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 3fb87ec935c498d635dffdcba4e8e6ea8867a5ed
parent 7f392e31036cccabccd33264f2178ca9cc7cc85d
Author: Nika Layzell <nika@thelayzells.com>
Date:   Tue, 16 Dec 2025 04:53:48 +0000

Bug 1927599 - Part 8: Dont build mozsandbox on iOS, r=haik

This is the sandboxing implementation on macOS, and is not relevant on iOS
where sandboxing profiles are provided by the OS.

Differential Revision: https://phabricator.services.mozilla.com/D251641

Diffstat:
Mdom/ipc/moz.build | 4+++-
Msecurity/sandbox/moz.build | 2+-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dom/ipc/moz.build b/dom/ipc/moz.build @@ -204,7 +204,9 @@ include("/ipc/chromium/chromium-config.mozbuild") FINAL_LIBRARY = "xul" -if CONFIG["MOZ_SANDBOX"] and (CONFIG["OS_TARGET"] in ["Darwin", "Linux"]): +if CONFIG["MOZ_SANDBOX"] and ( + CONFIG["OS_ARCH"] == "Linux" or CONFIG["TARGET_OS"] == "OSX" +): USE_LIBS += [ "mozsandbox", ] diff --git a/security/sandbox/moz.build b/security/sandbox/moz.build @@ -22,7 +22,7 @@ DIRS += ["common"] if CONFIG["OS_ARCH"] == "Linux": DIRS += ["linux"] -elif CONFIG["OS_ARCH"] == "Darwin": +elif CONFIG["TARGET_OS"] == "OSX": DIRS += ["mac"] elif CONFIG["OS_ARCH"] == "WINNT": Library("sandbox_s")