2 # MdeModulePkg DSC file used to build host-based unit tests.
4 # Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
5 # Copyright (C) Microsoft Corporation.
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
11 PLATFORM_NAME = MdeModulePkgHostTest
12 PLATFORM_GUID = F74AF7C6-698C-4EBA-BA49-FF6816916354
13 PLATFORM_VERSION = 0.1
14 DSC_SPECIFICATION = 0x00010005
15 OUTPUT_DIRECTORY = Build/MdeModulePkg/HostTest
16 SUPPORTED_ARCHITECTURES = IA32|X64
18 SKUID_IDENTIFIER = DEFAULT
20 !include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
23 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
26 MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
29 # Build MdeModulePkg HOST_APPLICATION Tests
31 MdeModulePkg/Library/DxeResetSystemLib/UnitTest/DxeResetSystemLibUnitTestHost.inf {
33 ResetSystemLib|MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.inf
34 UefiRuntimeServicesTableLib|MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
37 MdeModulePkg/Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/VariableLockRequestToLockUnitTest.inf {
39 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
40 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
42 gEfiMdeModulePkgTokenSpaceGuid.PcdAllowVariablePolicyEnforcementDisable|TRUE