2020-10-09 00:37:46 +02:00
|
|
|
## @file
|
|
|
|
# CryptoPkg DSC file used to build host-based unit tests.
|
|
|
|
#
|
|
|
|
# Copyright (c) Microsoft Corporation.<BR>
|
2022-03-18 05:22:09 +01:00
|
|
|
# Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
|
2020-10-09 00:37:46 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = CryptoPkgHostTest
|
|
|
|
PLATFORM_GUID = C7F97D6D-54AC-45A9-8197-CC99B20CC7EC
|
|
|
|
PLATFORM_VERSION = 0.1
|
|
|
|
DSC_SPECIFICATION = 0x00010005
|
|
|
|
OUTPUT_DIRECTORY = Build/CryptoPkg/HostTest
|
|
|
|
SUPPORTED_ARCHITECTURES = IA32|X64
|
|
|
|
BUILD_TARGETS = NOOPT
|
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
|
|
|
|
!include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf
|
2022-03-18 05:22:09 +01:00
|
|
|
MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
|
|
|
|
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
|
|
|
TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
2020-10-09 00:37:46 +02:00
|
|
|
|
|
|
|
[LibraryClasses.X64, LibraryClasses.IA32]
|
|
|
|
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
|
|
|
|
|
|
|
|
[Components]
|
|
|
|
#
|
|
|
|
# Build HOST_APPLICATION that tests the SampleUnitTest
|
|
|
|
#
|
2022-10-28 20:58:24 +02:00
|
|
|
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibHost.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
|
|
|
|
}
|
|
|
|
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibHost.inf {
|
|
|
|
<Defines>
|
|
|
|
FILE_GUID = 3604CCB8-138C-488F-8045-18704F73E734
|
2022-10-04 01:27:26 +02:00
|
|
|
<LibraryClasses>
|
|
|
|
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf
|
|
|
|
}
|
2020-11-25 05:27:23 +01:00
|
|
|
|
|
|
|
[BuildOptions]
|
2022-10-04 01:27:26 +02:00
|
|
|
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|