VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Test/MdeModulePkgHostTest.dsc@ 105905

Last change on this file since 105905 was 105670, checked in by vboxsync, 8 months ago

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1## @file
2# MdeModulePkg DSC file used to build host-based unit tests.
3#
4# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
5# Copyright (C) Microsoft Corporation.
6# SPDX-License-Identifier: BSD-2-Clause-Patent
7#
8##
9
10[Defines]
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
17 BUILD_TARGETS = NOOPT
18 SKUID_IDENTIFIER = DEFAULT
19
20!include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
21
22[LibraryClasses]
23 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
24
25[Components]
26 MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
27
28 #
29 # Build MdeModulePkg HOST_APPLICATION Tests
30 #
31 MdeModulePkg/Library/DxeResetSystemLib/UnitTest/DxeResetSystemLibUnitTestHost.inf {
32 <LibraryClasses>
33 ResetSystemLib|MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.inf
34 UefiRuntimeServicesTableLib|MdeModulePkg/Library/DxeResetSystemLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
35 }
36
37 MdeModulePkg/Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/VariableLockRequestToLockUnitTest.inf {
38 <LibraryClasses>
39 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
40 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
41 <PcdsFixedAtBuild>
42 gEfiMdeModulePkgTokenSpaceGuid.PcdAllowVariablePolicyEnforcementDisable|TRUE
43 }
44
45 MdeModulePkg/Library/UefiSortLib/UnitTest/UefiSortLibUnitTest.inf {
46 <LibraryClasses>
47 UefiSortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
48 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
49 }
50
51 MdeModulePkg/Library/UefiSortLib/GoogleTest/UefiSortLibGoogleTest.inf {
52 <LibraryClasses>
53 UefiSortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
54 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
55 }
56
57 MdeModulePkg/Library/ImagePropertiesRecordLib/UnitTest/ImagePropertiesRecordLibUnitTestHost.inf {
58 <LibraryClasses>
59 ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.inf
60 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
61 }
62
63 #
64 # Build HOST_APPLICATION Libraries
65 #
66 MdeModulePkg/Test/Mock/Library/GoogleTest/MockPciHostBridgeLib/MockPciHostBridgeLib.inf
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette