moz.build (781B)
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/. 6 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() 10 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 ] 17 ) 18 # The gtests won't work in a SpiderMonkey-only build or a build without 19 # jemalloc. 20 if CONFIG["MOZ_PHC"] and CONFIG["MOZ_BUILD_APP"] != "memory": 21 TEST_DIRS += ["gtest"]