gecko-dev/mozglue/moz.build
Mike Hommey d46c6229a7 Bug 1917739 - Move Lz4 and mfbt/Compression* to mozglue/static. r=nika,frontend-codestyle-reviewers
As per mozglue/static/README:

> mozglue/static contains parts of the mozglue library that can/should be
> statically linked to e.g. js/Gecko.

The compression part of MFBT is a good candidate for this.

Differential Revision: https://phabricator.services.mozilla.com/D221565
2024-09-10 20:35:56 +00:00

28 lines
697 B
Python

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
with Files("**"):
BUG_COMPONENT = ("Core", "mozglue")
if CONFIG["MOZ_LINKER"]:
DIRS += ["linker"]
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
DIRS += ["android"]
if CONFIG["OS_ARCH"] == "Linux" and not CONFIG["FUZZING_SNAPSHOT"]:
DIRS += ["interposers"]
DIRS += [
"baseprofiler",
"build",
"misc",
"static",
]
if CONFIG["MOZ_WIDGET_TOOLKIT"]:
TEST_DIRS += ["tests"]