mozglue/moz.build
author Andrew McCreight <continuation@gmail.com>
Thu, 29 Sep 2022 11:40:19 +0000
changeset 636609 a58c99b9307bd575ce241b8fd4dff29b14b5e0b4
parent 588745 e1a7ed4ea824394ab86baf7fffa8504be84c0b68
permissions -rw-r--r--
Bug 1792457 - Revert workarounds for weak references to XPCWJS crashes. r=Gijs I have fixed the underlying XPConnect issue, so these workarounds should no longer be needed. There are also two more in browser/base/content/browser-siteProtections.js that I have not fixed. Differential Revision: https://phabricator.services.mozilla.com/D158158

# -*- 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"] or CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
    DIRS += ["linker"]

if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
    DIRS += ["android"]

DIRS += [
    "baseprofiler",
    "build",
    "misc",
]

if CONFIG["MOZ_WIDGET_TOOLKIT"]:
    TEST_DIRS += ["tests"]