SecurityPkgHostTest.dsc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ## @file
  2. # SecurityPkg DSC file used to build host-based unit tests.
  3. #
  4. # Copyright (C) Microsoft Corporation.
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ##
  8. [Defines]
  9. PLATFORM_NAME = SecurityPkgHostTest
  10. PLATFORM_GUID = 9D78A9B4-00CD-477E-A5BF-90CC793EEFB0
  11. PLATFORM_VERSION = 0.1
  12. DSC_SPECIFICATION = 0x00010005
  13. OUTPUT_DIRECTORY = Build/SecurityPkg/HostTest
  14. SUPPORTED_ARCHITECTURES = IA32|X64
  15. BUILD_TARGETS = NOOPT
  16. SKUID_IDENTIFIER = DEFAULT
  17. !include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
  18. [LibraryClasses]
  19. SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
  20. [Components]
  21. SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
  22. SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockPlatformPKProtectionLib.inf
  23. SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockUefiLib.inf
  24. #
  25. # Build SecurityPkg HOST_APPLICATION Tests
  26. #
  27. SecurityPkg/Library/SecureBootVariableLib/UnitTest/SecureBootVariableLibUnitTest.inf {
  28. <LibraryClasses>
  29. SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
  30. UefiRuntimeServicesTableLib|SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockUefiRuntimeServicesTableLib.inf
  31. PlatformPKProtectionLib|SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockPlatformPKProtectionLib.inf
  32. UefiLib|SecurityPkg/Library/SecureBootVariableLib/UnitTest/MockUefiLib.inf
  33. }