memory/moz.build
author sotaro <sotaro.ikeda.g@gmail.com>
Mon, 16 Dec 2019 03:50:31 +0000
changeset 507041 0016ade97e65a470bc97521ab8338210e74cdd02
parent 482028 e4dd9975c68a50c3409512d92b2df40103bac9d1
permissions -rw-r--r--
Bug 1603676 - Move picture caching check for WR compositor to Feature::WEBRENDER_COMPOSITOR check r=gw about:support could have an information that WR compositor is disabled by disabling picture caching. Differential Revision: https://phabricator.services.mozilla.com/D57266

# -*- 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 += [
    'build',
]

# For now, don't build mozalloc when building with --enable-project=memory
if CONFIG['MOZ_BUILD_APP'] != 'memory':
    DIRS += [
        'mozalloc',
    ]

if CONFIG['MOZ_WIDGET_TOOLKIT']:
    DIRS += ['volatile']

# NB: gtest dir is included in toolkit/toolkit.build due to its dependency
# on libxul.

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