Bug 1857841 - pt 3. Add a new page kind named "fresh" r=glandium
[gecko.git] / mozglue / tests / moz.build
blobac68508ebd486fbb1e827ecca8f9fdea30df7222
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 DisableStlWrapping()
9 # Important: for CppUnitTests to be run, they also need to be added
10 # to testing/cppunittest.ini.
12 GeckoCppUnitTests(
13     [
14         "ShowSSEConfig",
15     ],
16     linkage=None,
19 CppUnitTests(
20     [
21         "TestBaseProfiler",
22         "TestIntegerPrintfMacros",
23         "TestPrintf",
24     ]
27 with Files("TestBaseProfiler.cpp"):
28     BUG_COMPONENT = ("Core", "Gecko Profiler")
30 if CONFIG["OS_ARCH"] == "WINNT":
31     GeckoCppUnitTests(
32         [
33             "TestNativeNt",
34             "TestPEExportSection",
35             "TestStackCookie",
36             "TestTimeStampWin",
37         ],
38         linkage=None,
39     )
40     OS_LIBS += [
41         "ntdll",
42         "version",
43     ]
45 if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["CC_TYPE"] in ("gcc", "clang"):
46     # This allows us to use wmain as the entry point on mingw
47     LDFLAGS += [
48         "-municode",
49     ]
51 TEST_DIRS += [
52     "gtest",