tor-browser

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

moz.build (1288B)


      1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
      2 # vim: set filetype=python:
      3 # This Source Code Form is subject to the terms of the Mozilla Public
      4 # License, v. 2.0. If a copy of the MPL was not distributed with this
      5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      6 
      7 UNIFIED_SOURCES += [
      8     "OCSPCommon.cpp",
      9     "TLSServer.cpp",
     10 ]
     11 
     12 USE_LIBS += [
     13     "mozpkix-testlib",
     14 ]
     15 
     16 if not CONFIG["MOZ_SYSTEM_NSS"]:
     17     # Bug 1805371: The FaultyServer binary added in Bug 1754746 needs to
     18     # be statically linked against NSS, but the configuration here breaks
     19     # builds with system NSS. A complete solution involves some changes
     20     # to the NSS build system. For now we're disabling FaultyServer when
     21     # using system NSS and linking the rest of the tests dynamically.
     22     DEFINES["NSS_USE_STATIC_LIBS"] = True
     23 
     24     USE_LIBS += [
     25         "certdb",
     26         "certhi",
     27         "cryptohi",
     28         "freebl",
     29         "mozpkix",
     30         "mozpkix-testlib",
     31         "nspr",
     32         "nss_static",
     33         "nssb",
     34         "nssdev",
     35         "nsspki",
     36         "pk11wrap",
     37         "smime",
     38         "softokn3",
     39         "sqlite",
     40         "ssl",
     41     ]
     42 
     43     if CONFIG["MOZ_FOLD_LIBS"]:
     44         USE_LIBS += ["nssutil"]
     45     else:
     46         USE_LIBS += ["nssutil3"]
     47 
     48 Library("tlsserver")