2 # SecurityPkg DSC file used to build host-based unit tests.
4 # Copyright (C) Microsoft Corporation.
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 PLATFORM_NAME = SecurityPkgHostTest
11 PLATFORM_GUID = 9D78A9B4-00CD-477E-A5BF-90CC793EEFB0
12 PLATFORM_VERSION = 0.1
13 DSC_SPECIFICATION = 0x00010005
14 OUTPUT_DIRECTORY = Build/SecurityPkg/HostTest
15 SUPPORTED_ARCHITECTURES = IA32|X64
17 SKUID_IDENTIFIER = DEFAULT
19 !include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
22 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
25 SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
26 SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockPlatformPKProtectionLib.inf
27 SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockUefiLib.inf
30 # Build SecurityPkg HOST_APPLICATION Tests
32 SecurityPkg/Library/SecureBootVariableLib/UnitTest/SecureBootVariableLibUnitTest.inf {
34 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
35 UefiRuntimeServicesTableLib|SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
36 PlatformPKProtectionLib|SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockPlatformPKProtectionLib.inf
37 UefiLib|SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockUefiLib.inf