2020-01-22 19:16:14 +01:00
|
|
|
## @file
|
|
|
|
# MdeModulePkg DSC file used to build host-based unit tests.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
|
|
|
|
# Copyright (C) Microsoft Corporation.
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = MdeModulePkgHostTest
|
|
|
|
PLATFORM_GUID = F74AF7C6-698C-4EBA-BA49-FF6816916354
|
|
|
|
PLATFORM_VERSION = 0.1
|
|
|
|
DSC_SPECIFICATION = 0x00010005
|
|
|
|
OUTPUT_DIRECTORY = Build/MdeModulePkg/HostTest
|
|
|
|
SUPPORTED_ARCHITECTURES = IA32|X64
|
|
|
|
BUILD_TARGETS = NOOPT
|
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
|
|
|
|
!include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
|
|
|
|
|
2020-12-11 05:35:23 +01:00
|
|
|
[LibraryClasses]
|
|
|
|
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
|
|
|
|
2020-01-22 19:16:14 +01:00
|
|
|
[Components]
|
|
|
|
MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
|
|
|
|
|
|
|
|
#
|
|
|
|
# Build MdeModulePkg HOST_APPLICATION Tests
|
|
|
|
#
|
|
|
|
MdeModulePkg/Library/DxeResetSystemLib/UnitTest/DxeResetSystemLibUnitTestHost.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
ResetSystemLib|MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.inf
|
|
|
|
UefiRuntimeServicesTableLib|MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
|
|
|
|
}
|
2020-12-11 05:35:23 +01:00
|
|
|
|
|
|
|
MdeModulePkg/Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/VariableLockRequestToLockUnitTest.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
|
|
|
|
VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
|
|
|
|
<PcdsFixedAtBuild>
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdAllowVariablePolicyEnforcementDisable|TRUE
|
|
|
|
}
|
2021-08-11 08:35:39 +02:00
|
|
|
|
|
|
|
MdeModulePkg/Library/UefiSortLib/UnitTest/UefiSortLibUnitTest.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
UefiSortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
|
|
|
}
|