tor-browser

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

0016.patch (1542B)


      1 From: Michael Froman <mfroman@mozilla.com>
      2 Date: Tue, 8 Jul 2025 09:15:00 -0500
      3 Subject: Bug 1974813 - (fix-78f1c67f1) don't process deps from
      4 'buildtools/third_party'
      5 
      6 Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/9855b72bb8a73615cab39cbe8cf04679cc975050
      7 ---
      8 config/BUILDCONFIG.gn | 4 ++++
      9 1 file changed, 4 insertions(+)
     10 
     11 diff --git a/config/BUILDCONFIG.gn b/config/BUILDCONFIG.gn
     12 index 4d9c9f5db..f1189be21 100644
     13 --- a/config/BUILDCONFIG.gn
     14 +++ b/config/BUILDCONFIG.gn
     15 @@ -558,6 +558,7 @@ foreach(_target_type,
     16         deps = []
     17       }
     18 
     19 +      if (false) { # Mozilla
     20       if (is_clang && (!defined(invoker.use_libcxx_modules) ||
     21                        invoker.use_libcxx_modules)) {
     22         # This is necessary for Clang modules builds.
     23 @@ -577,6 +578,7 @@ foreach(_target_type,
     24           "//buildtools/third_party/libc++:std_wctype_h",
     25         ]
     26       }
     27 +      }
     28 
     29       # Consumed by the unsafe-buffers plugin during compile.
     30       #
     31 @@ -652,6 +654,7 @@ foreach(_target_type,
     32       if (!defined(deps)) {
     33         deps = []
     34       }
     35 +      if (false) { # Mozilla
     36       if (!defined(invoker.no_default_deps) || !invoker.no_default_deps) {
     37         # This pulls in one of:
     38         # //build/config:executable_deps
     39 @@ -684,6 +687,7 @@ foreach(_target_type,
     40           "//buildtools/third_party/libc++:std_wctype_h",
     41         ]
     42       }
     43 +      }
     44 
     45       # On Android, write shared library output file to metadata. We will use
     46       # this information to, for instance, collect all shared libraries that