tor-browser

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

0006.patch (832B)


      1 From: Michael Froman <mfroman@mozilla.com>
      2 Date: Mon, 20 Jun 2022 22:34:00 +0000
      3 Subject: Bug 1775143 - pt8 - (mirror) dc3478ddac7c r=ng
      4 
      5 (skip-generation)
      6 
      7 Depends on D149821
      8 
      9 Differential Revision: https://phabricator.services.mozilla.com/D149822
     10 Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/9444d12972cebe7d8f805a6e7a81308c063fd91d
     11 ---
     12 config/BUILD.gn | 5 +++--
     13 1 file changed, 3 insertions(+), 2 deletions(-)
     14 
     15 diff --git a/config/BUILD.gn b/config/BUILD.gn
     16 index ab01bcd5a..d8352aadf 100644
     17 --- a/config/BUILD.gn
     18 +++ b/config/BUILD.gn
     19 @@ -109,10 +109,11 @@ config("feature_flags") {
     20 
     21 config("debug") {
     22   defines = [
     23 -    "_DEBUG",
     24     "DYNAMIC_ANNOTATIONS_ENABLED=1",
     25   ]
     26 -
     27 +  if (!is_win) {
     28 +   defines += [ "_DEBUG" ]
     29 +  }
     30   if (is_nacl) {
     31     defines += [ "DYNAMIC_ANNOTATIONS_PREFIX=NACL_" ]
     32   }