UefiCpuPkgHostTest.dsc 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ## @file
  2. # UefiCpuPkg DSC file used to build host-based unit tests.
  3. #
  4. # Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ##
  8. [Defines]
  9. PLATFORM_NAME = UefiCpuPkgHostTest
  10. PLATFORM_GUID = E00B9599-5B74-4FF7-AB9F-8183FB13B2F9
  11. PLATFORM_VERSION = 0.1
  12. DSC_SPECIFICATION = 0x00010005
  13. OUTPUT_DIRECTORY = Build/UefiCpuPkg/HostTest
  14. SUPPORTED_ARCHITECTURES = IA32|X64
  15. BUILD_TARGETS = NOOPT
  16. SKUID_IDENTIFIER = DEFAULT
  17. !include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
  18. [LibraryClasses]
  19. MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  20. CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
  21. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  22. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf
  23. RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
  24. [PcdsPatchableInModule]
  25. gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0
  26. [Components]
  27. #
  28. # Build HOST_APPLICATION that tests the MtrrLib
  29. #
  30. UefiCpuPkg/Library/MtrrLib/UnitTest/MtrrLibUnitTestHost.inf
  31. #
  32. # Build HOST_APPLICATION that tests the CpuPageTableLib
  33. #
  34. UefiCpuPkg/Library/CpuPageTableLib/UnitTest/CpuPageTableLibUnitTestHost.inf