tor-browser

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

moz.build (733B)


      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 Library("nspr")
      8 
      9 if CONFIG["MOZ_BUILD_NSPR"]:
     10     DIRS += [
     11         "pr",
     12         "ds",
     13         "libc",
     14     ]
     15     if CONFIG["MOZ_FOLD_LIBS"]:
     16         # When folding libraries, nspr is actually in the nss library.
     17         USE_LIBS += [
     18             "nss",
     19         ]
     20     else:
     21         USE_LIBS += [
     22             "nspr4",
     23             "plc4",
     24             "plds4",
     25         ]
     26     EXPORTS.nspr += ["prcpucfg.h"]
     27 else:
     28     OS_LIBS += CONFIG["NSPR_LIBS"]