]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Test/SecurityPkgHostTest.dsc
c4df01fe1b73665df2e76dab05136d4578f09c2f
[mirror_edk2.git] / SecurityPkg / Test / SecurityPkgHostTest.dsc
1 ## @file
2 # SecurityPkg DSC file used to build host-based unit tests.
3 #
4 # Copyright (C) Microsoft Corporation.
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 #
7 ##
8
9 [Defines]
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
16 BUILD_TARGETS = NOOPT
17 SKUID_IDENTIFIER = DEFAULT
18
19 !include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
20
21 [LibraryClasses]
22 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
23
24 [Components]
25 SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
26 SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockPlatformPKProtectionLib.inf
27 SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockUefiLib.inf
28
29 #
30 # Build SecurityPkg HOST_APPLICATION Tests
31 #
32 SecurityPkg/Library/SecureBootVariableLib/UnitTest/SecureBootVariableLibUnitTest.inf {
33 <LibraryClasses>
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
38 }