]> git.proxmox.com Git - mirror_edk2.git/blob - UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc
UnitTestFrameworkPkg: Change target mode DebugLib mapping
[mirror_edk2.git] / UnitTestFrameworkPkg / UnitTestFrameworkPkgTarget.dsc.inc
1 ## @file
2 # UnitTestFrameworkPkg DSC include file for target based test DSC
3 #
4 # Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 #
7 ##
8
9 [LibraryClasses]
10 #
11 # Entry point
12 #
13 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
14 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
15 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
16
17 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
18 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
19 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
20 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
21 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
22 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
23 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
24 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
25 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
26 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
27 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
28
29 UnitTestLib|UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.inf
30 UnitTestPersistenceLib|UnitTestFrameworkPkg/Library/UnitTestPersistenceLibNull/UnitTestPersistenceLibNull.inf
31 UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibDebugLib.inf
32
33 [LibraryClasses.ARM, LibraryClasses.AARCH64]
34 #
35 # It is not possible to prevent ARM compiler calls to generic intrinsic functions.
36 # This library provides the instrinsic functions generated by a given compiler.
37 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
38 #
39 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
40
41 #
42 # Since software stack checking may be heuristically enabled by the compiler
43 # include BaseStackCheckLib unconditionally.
44 #
45 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
46
47 [LibraryClasses.common.PEIM]
48 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
49 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
50 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
51
52 [LibraryClasses.common.UEFI_APPLICATION]
53 UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.inf
54
55 [PcdsFixedAtBuild]
56 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
57
58 [BuildOptions]
59 MSFT:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
60 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES