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")
14 USE_STATIC_LIBS = True
18 # See comment about *-windows-gnu targets in config/makefiles/rust.mk
19 if CONFIG["CC_TYPE"] == "clang":
24 script="dummy_libs.py",
25 flags=["libgcc_eh.a", "libpthread.a"],
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"]:
32 FINAL_TARGET_FILES += ["%%%s/%s" % (CONFIG["WIN32_REDIST_DIR"], CONFIG[f])]