Bug 1867925 - Mark some storage-access-api tests as intermittent after wpt-sync....
[gecko.git] / build / win32 / moz.build
blobd8d61a22db473f2029dec8892dad5616c4573c45
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 TEST_DIRS += ["crashinjectdll"]
9 if CONFIG["ENABLE_TESTS"]:
10     Program("crashinject")
11     SOURCES += [
12         "crashinject.cpp",
13     ]
14     USE_STATIC_LIBS = True
16 NO_PGO = True
18 # See comment about *-windows-gnu targets in config/makefiles/rust.mk
19 if CONFIG["CC_TYPE"] == "clang":
20     GeneratedFile(
21         "libgcc.a",
22         "libgcc_eh.a",
23         "libpthread.a",
24         script="dummy_libs.py",
25         flags=["libgcc_eh.a", "libpthread.a"],
26     )
29 if CONFIG["WIN32_REDIST_DIR"] and CONFIG["COMPILE_ENVIRONMENT"]:
30     for f in ["MSVC_C_RUNTIME_DLL", "MSVC_C_RUNTIME_1_DLL", "MSVC_CXX_RUNTIME_DLL"]:
31         if CONFIG[f]:
32             FINAL_TARGET_FILES += ["%%%s/%s" % (CONFIG["WIN32_REDIST_DIR"], CONFIG[f])]