]> git.proxmox.com Git - mirror_edk2.git/blob - UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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 NULL|UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLib.inf
33
34 [LibraryClasses.ARM, LibraryClasses.AARCH64]
35 #
36 # It is not possible to prevent ARM compiler calls to generic intrinsic functions.
37 # This library provides the instrinsic functions generated by a given compiler.
38 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
39 #
40 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
41
42 #
43 # Since software stack checking may be heuristically enabled by the compiler
44 # include BaseStackCheckLib unconditionally.
45 #
46 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
47
48 [LibraryClasses.common.PEIM]
49 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
50 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
51 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
52
53 [LibraryClasses.common.UEFI_APPLICATION]
54 UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.inf
55
56 [PcdsFixedAtBuild]
57 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
58
59 [BuildOptions]
60 MSFT:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES -D EDKII_UNIT_TEST_FRAMEWORK_ENABLED
61 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES -D EDKII_UNIT_TEST_FRAMEWORK_ENABLED
62 XCODE:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES -D EDKII_UNIT_TEST_FRAMEWORK_ENABLED