tor-browser

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

commit 877cf3739239e00baf074f0282f85c2fcc8ba721
parent 4141bda247b09687f879c65e1567d08afb206ee3
Author: serge-sans-paille <sguelton@mozilla.com>
Date:   Mon,  5 Jan 2026 08:41:05 +0000

Bug 2005997 - Enable _LIBCPP_REMOVE_TRANSITIVE_INCLUDES for libcxx r=glandium

See https://libcxx.llvm.org/DesignDocs/HeaderRemovalPolicy.html for the
design document, but basically this should make header dependencies less
costly in terms of compilation time.

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

Diffstat:
Mbuild/moz.configure/toolchain.configure | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure @@ -2404,6 +2404,9 @@ set_define("_LIBCPP_ALWAYS_INLINE", libcxx_override_visibility.empty) set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi) +# TODO: remove this once we target C++23, where clang always define it, see bug 1880762 +set_define("_LIBCPP_REMOVE_TRANSITIVE_INCLUDES", True, when=using_libcxx) + @depends(target, build_environment) def visibility_flags(target, env):