tor-browser

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

moz.build (898B)


      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 if CONFIG["MOZ_FOLD_LIBS"]:
      8     Library("plds4")
      9 else:
     10     SharedLibrary("plds4")
     11     SOURCES += ["/nsprpub/lib/ds/plvrsion.c"]
     12     USE_LIBS += ["nspr4"]
     13 
     14 # We allow warnings for third-party code that can be updated from upstream.
     15 # TODO: fix NSPR warnings and remove this
     16 AllowCompilerWarnings()
     17 
     18 DEFINES["_NSPR_BUILD_"] = True
     19 
     20 LOCAL_INCLUDES += [
     21     "/config/external/nspr",
     22     "/nsprpub/pr/include",
     23 ]
     24 
     25 EXPORTS.nspr += [
     26     "/nsprpub/lib/ds/plarena.h",
     27     "/nsprpub/lib/ds/plarenas.h",
     28     "/nsprpub/lib/ds/plhash.h",
     29 ]
     30 
     31 SOURCES += [
     32     "/nsprpub/lib/ds/plarena.c",
     33     "/nsprpub/lib/ds/plhash.c",
     34 ]