+!include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc\r
+\r
+!include MdePkg/MdeLibs.dsc.inc\r
+\r
+[PcdsFeatureFlag]\r
+ gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE\r
+\r
+[PcdsFixedAtBuild]\r
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
+ gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
+\r
+[LibraryClasses]\r
+ SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
+\r
+[Components]\r
+ MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
+ MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
+ MdePkg/Library/BaseCacheMaintenanceLibNull/BaseCacheMaintenanceLibNull.inf\r
+ MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
+ MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.inf\r
+ MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
+ MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
+ MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
+ MdePkg/Library/BaseLib/BaseLib.inf\r
+ MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
+ MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
+ MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
+ MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
+ MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
+ MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
+ MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
+ MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
+ MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.inf\r
+ MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf\r
+ MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.inf\r
+ MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf\r
+ MdePkg/Library/BaseArmTrngLibNull/BaseArmTrngLibNull.inf\r
+ MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
+ MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
+ MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
+ MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
+ MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf\r
+ MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf\r
+ MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
+ MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
+ MdePkg/Library/DxeRngLib/DxeRngLib.inf\r
+ MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf\r
+ MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
+\r
+ MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
+ MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
+ MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
+ MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
+ MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
+ MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
+ MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
+\r
+ MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
+ MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
+ MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
+ MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
+ MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
+ MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
+ MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
+ MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf\r
+ MdePkg/Library/DxeIoLibCpuIo2/DxeIoLibCpuIo2.inf\r
+ MdePkg/Library/DxeHstiLib/DxeHstiLib.inf\r
+ MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf\r
+ MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf\r
+\r
+ MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
+ MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf\r
+ MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
+ MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
+ MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf\r
+ MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
+ MdePkg/Library/PeiMemoryLib/PeiMemoryLib.inf\r
+ MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
+ MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
+ MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
+ MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
+ MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
+ MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLibSmbus2Ppi.inf\r
+ MdePkg/Library/PeiPciLibPciCfg2/PeiPciLibPciCfg2.inf\r
+ MdePkg/Library/PeiPciSegmentLibPciCfg2/PeiPciSegmentLibPciCfg2.inf\r
+\r
+ MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
+ MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
+ MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
+ MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf\r
+ MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
+ MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
+ MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibBase.inf\r
+ MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibStandaloneMm.inf\r
+ MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf\r
+ MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
+ MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
+ MdePkg/Library/UefiLib/UefiLib.inf\r
+ MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
+ MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf\r
+ MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
+ MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
+ MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
+ MdePkg/Library/UefiPciLibPciRootBridgeIo/UefiPciLibPciRootBridgeIo.inf\r
+ MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/UefiPciSegmentLibPciRootBridgeIo.inf\r
+ MdePkg/Library/SmmLibNull/SmmLibNull.inf\r
+ MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
+\r
+ MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf\r
+ MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf\r
+\r
+ MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf\r
+ MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf\r
+ MdePkg/Library/SmmCpuRendezvousLibNull/SmmCpuRendezvousLibNull.inf\r
+\r
+[Components.IA32, Components.X64, Components.ARM, Components.AARCH64]\r
+ #\r
+ # Add UEFI Target Based Unit Tests\r
+ #\r
+ MdePkg/Test/UnitTest/Library/BaseLib/BaseLibUnitTestsUefi.inf\r
+\r
+ #\r
+ # Build PEIM, DXE_DRIVER, SMM_DRIVER, UEFI Shell components that test SafeIntLib\r
+ #\r
+ MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibPei.inf\r
+ MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibDxe.inf\r
+ MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibSmm.inf\r
+ MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibUefiShell.inf\r
+\r
+[Components.IA32, Components.X64, Components.AARCH64]\r
+ MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
+\r
+[Components.IA32, Components.X64]\r
+ MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
+ MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
+ MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf\r
+ MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r
+ MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf\r
+ MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
+ MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf\r
+ MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
+ MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r
+ MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
+ MdePkg/Library/SmmIoLibSmmCpuIo2/SmmIoLibSmmCpuIo2.inf\r
+ MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf\r
+ MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
+ MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
+ MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.inf\r
+ MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf\r
+ MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf\r
+ MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf\r
+ MdePkg/Library/BaseS3SmbusLib/BaseS3SmbusLib.inf\r
+ MdePkg/Library/BaseS3StallLib/BaseS3StallLib.inf\r
+ MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
+ MdePkg/Library/SmmIoLib/SmmIoLib.inf\r
+ MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf\r
+ MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf\r
+ MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
+ MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf\r
+ MdePkg/Library/TdxLib/TdxLib.inf\r
+\r
+[Components.EBC]\r
+ MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
+ MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
+\r
+[Components.ARM, Components.AARCH64]\r
+ MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf\r
+ MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
+\r
+[Components.RISCV64]\r
+ MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.inf\r