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.common.SEC, LibraryClasses.common.PEI_CORE, LibraryClasses.common.PEIM]
|
---|
34 | NULL|UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLib.inf
|
---|
35 |
|
---|
36 | [LibraryClasses.common.DXE_CORE, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER]
|
---|
37 | NULL|UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLib.inf
|
---|
38 |
|
---|
39 | [LibraryClasses.common.SMM_CORE, LibraryClasses.common.DXE_SMM_DRIVER]
|
---|
40 | NULL|UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLib.inf
|
---|
41 |
|
---|
42 | [LibraryClasses.common.MM_STANDALONE]
|
---|
43 | NULL|UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLib.inf
|
---|
44 |
|
---|
45 | [LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
|
---|
46 | NULL|UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLib.inf
|
---|
47 |
|
---|
48 | [LibraryClasses.ARM, LibraryClasses.AARCH64]
|
---|
49 | #
|
---|
50 | # It is not possible to prevent ARM compiler calls to generic intrinsic functions.
|
---|
51 | # This library provides the instrinsic functions generated by a given compiler.
|
---|
52 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
|
---|
53 | #
|
---|
54 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
---|
55 |
|
---|
56 | #
|
---|
57 | # Since software stack checking may be heuristically enabled by the compiler
|
---|
58 | # include BaseStackCheckLib unconditionally.
|
---|
59 | #
|
---|
60 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
---|
61 |
|
---|
62 | [LibraryClasses.common.PEIM]
|
---|
63 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
64 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
65 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
---|
66 |
|
---|
67 | [LibraryClasses.common.UEFI_APPLICATION]
|
---|
68 | UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.inf
|
---|
69 |
|
---|
70 | [PcdsFixedAtBuild]
|
---|
71 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|
---|
72 |
|
---|
73 | [BuildOptions]
|
---|
74 | MSFT:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES -D EDKII_UNIT_TEST_FRAMEWORK_ENABLED
|
---|
75 | GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES -D EDKII_UNIT_TEST_FRAMEWORK_ENABLED
|
---|
76 | XCODE:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES -D EDKII_UNIT_TEST_FRAMEWORK_ENABLED
|
---|