Bug 1854550 - pt 2. Move PHC into memory/build r=glandium
[gecko.git] / memory / build / test / moz.build
blobd93cc48c6545a22b32f9e023d9a50421d08b2a15
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/.
7 # We don't link these tests against mozglue, but we do use the STL. Avoid the
8 # implicit linking of `__imp_moz_xalloc` in our STL wrappers.
9 DisableStlWrapping()
11 # Important: for these tests to be run, they also need to be added
12 # to testing/cppunittest.ini.
13 CppUnitTests(
14     [
15         "TestMozJemallocUtils",
16     ]
18 # The gtests won't work in a SpiderMonkey-only build or a build without
19 # jemalloc.
20 if CONFIG["MOZ_PHC"]:
21     TEST_DIRS += ["gtest"]