tor-browser

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

moz.build (687B)


      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 EXPORTS.mozilla = ["Compression.h"]
      8 
      9 UNIFIED_SOURCES += [
     10     "Compression.cpp",
     11 ]
     12 
     13 SOURCES += [
     14     "lz4/lz4.c",
     15     "lz4/lz4file.c",
     16     "lz4/lz4frame.c",
     17     "lz4/lz4hc.c",
     18     "lz4/xxhash.c",
     19 ]
     20 
     21 SOURCES["lz4/xxhash.c"].flags += ["-Wno-unused-function"]
     22 
     23 DEFINES["LZ4LIB_VISIBILITY"] = ""
     24 DEFINES["LZ4FLIB_VISIBILITY"] = ""
     25 
     26 # By putting it in js, it ends up in libxul too.
     27 FINAL_LIBRARY = "js"