memory/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 11 May 2017 13:23:07 +0900
changeset 358521 faae5fbdd01ddaf171810c446a645ea00085aa54
parent 358520 0e6e8a7b9973fea4fdeca1e7c49df2674d2a984a
child 380199 77650b2c281280c89b5407d25b56838efb886cad
permissions -rw-r--r--
Bug 1363992 - Remove jemalloc 4. r=njn

# -*- 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", "Memory Allocator")

DIRS += [
    'mozalloc',
    'fallible',
]

if not CONFIG['JS_STANDALONE']:
    DIRS += ['volatile']

if CONFIG['MOZ_MEMORY']:
    # NB: gtest dir is included in toolkit/toolkit.build due to its dependency
    # on libxul.
    DIRS += [
        'build',
        'mozjemalloc',
    ]

    if CONFIG['MOZ_REPLACE_MALLOC']:
        DIRS += ['replace']