summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2025-12-26 22:34:44 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-01-06 12:48:10 +0300
commit27020f33a1b218facfb2c740ebd37cb90cfad2c7 (patch)
tree1e29360f9e089bebcf309d603455a23bb6ad07f4 /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
parentccfc888f06d8f1b7013001eabd86f0735cbbdb7e (diff)
downloadedk2-27020f33a1b218facfb2c740ebd37cb90cfad2c7.tar.xz
UnitTestFrameworkPkg: Add Windows host-based unit test define
There are cases where DSC files must have logic to detect if host-based unit tests are being built in a Windows environment. Add HOST_BASED_UNIT_TESTING_ENABLED define set to TRUE if that condition is detected. One example is the optimized assembly files from Openssl project that generate NASM source files that assume Windows calling convention. Those NASM files must be used for both firmware builds where the default compiler calling convention is the Windows calling convention and host-based unit tests built using any of the compilers supported in Windows environment. Also update UnitTestFrameworkPkgHost.dsc.inc to set BUILD_TARGETS to NOOPT because host-based unit tests only support NOOPT. If the DSC file that includes UnitTestFrameworkPkgHost.dsc.inc uses a BUILD_TARGETS other than NOOPT, this will override the DSC setting. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions