Bug 1897589 - Simplify worker shutdown checks. r=jstutte,dom-worker-reviewers
[gecko.git] / memory / replace / moz.build
blob7385faceb520d6f5d8d20b04bcb8cd143143c4fc
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/.
8 @template
9 def ReplaceMalloc(name):
10     if CONFIG["MOZ_REPLACE_MALLOC_STATIC"]:
11         DEFINES["MOZ_REPLACE_MALLOC_PREFIX"] = name.replace("-", "_")
12         FINAL_LIBRARY = "memory"
13     else:
14         SharedLibrary(name)
17 DIRS += [
18     "logalloc",
21 if CONFIG["MOZ_DMD"]:
22     DIRS += ["dmd"]