Blame memory/moz.build

Packit f0b94e
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
Packit f0b94e
# vim: set filetype=python:
Packit f0b94e
# This Source Code Form is subject to the terms of the Mozilla Public
Packit f0b94e
# License, v. 2.0. If a copy of the MPL was not distributed with this
Packit f0b94e
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Packit f0b94e
Packit f0b94e
with Files("**"):
Packit f0b94e
    BUG_COMPONENT = ("Core", "Memory Allocator")
Packit f0b94e
Packit f0b94e
DIRS += [
Packit f0b94e
    'build',
Packit f0b94e
    'fallible',
Packit f0b94e
]
Packit f0b94e
Packit f0b94e
# For now, don't build mozalloc when building with --enable-project=memory
Packit f0b94e
if CONFIG['MOZ_BUILD_APP'] != 'memory':
Packit f0b94e
    DIRS += [
Packit f0b94e
        'mozalloc',
Packit f0b94e
    ]
Packit f0b94e
Packit f0b94e
if CONFIG['MOZ_WIDGET_TOOLKIT']:
Packit f0b94e
    DIRS += ['volatile']
Packit f0b94e
Packit f0b94e
# NB: gtest dir is included in toolkit/toolkit.build due to its dependency
Packit f0b94e
# on libxul.
Packit f0b94e
Packit f0b94e
if CONFIG['MOZ_REPLACE_MALLOC']:
Packit f0b94e
    DIRS += ['replace']