Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / mozglue / static / moz.build
blob9e3dfec41b68c3b7802bc83a54c8ce7833fac1ee
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/.
7 EXPORTS.mozilla = ["Compression.h"]
9 UNIFIED_SOURCES += [
10     "Compression.cpp",
13 SOURCES += [
14     "lz4/lz4.c",
15     "lz4/lz4file.c",
16     "lz4/lz4frame.c",
17     "lz4/lz4hc.c",
18     "lz4/xxhash.c",
21 SOURCES["lz4/xxhash.c"].flags += ["-Wno-unused-function"]
23 DEFINES["LZ4LIB_VISIBILITY"] = ""
24 DEFINES["LZ4FLIB_VISIBILITY"] = ""
26 # By putting it in js, it ends up in libxul too.
27 FINAL_LIBRARY = "js"