1 | ## @file
|
---|
2 | # CryptoPkg DSC file used to build host-based unit tests.
|
---|
3 | #
|
---|
4 | # Copyright (c) Microsoft Corporation.<BR>
|
---|
5 | # Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
|
---|
6 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
7 | #
|
---|
8 | ##
|
---|
9 |
|
---|
10 | [Defines]
|
---|
11 | PLATFORM_NAME = CryptoPkgHostTest
|
---|
12 | PLATFORM_GUID = C7F97D6D-54AC-45A9-8197-CC99B20CC7EC
|
---|
13 | PLATFORM_VERSION = 0.1
|
---|
14 | DSC_SPECIFICATION = 0x00010005
|
---|
15 | OUTPUT_DIRECTORY = Build/CryptoPkg/HostTest
|
---|
16 | SUPPORTED_ARCHITECTURES = IA32|X64
|
---|
17 | BUILD_TARGETS = NOOPT
|
---|
18 | SKUID_IDENTIFIER = DEFAULT
|
---|
19 |
|
---|
20 | !include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
|
---|
21 |
|
---|
22 | [LibraryClasses]
|
---|
23 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf
|
---|
24 | MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
|
---|
25 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
---|
26 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
|
---|
27 |
|
---|
28 | [LibraryClasses.X64, LibraryClasses.IA32]
|
---|
29 | RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
|
---|
30 |
|
---|
31 | [Components]
|
---|
32 | #
|
---|
33 | # Build HOST_APPLICATION that tests the SampleUnitTest
|
---|
34 | #
|
---|
35 | CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibHost.inf {
|
---|
36 | <LibraryClasses>
|
---|
37 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
|
---|
38 | }
|
---|
39 | CryptoPkg/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLibHost.inf {
|
---|
40 | <Defines>
|
---|
41 | FILE_GUID = 3604CCB8-138C-488F-8045-18704F73E734
|
---|
42 | <LibraryClasses>
|
---|
43 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf
|
---|
44 | }
|
---|
45 |
|
---|
46 | [BuildOptions]
|
---|
47 | *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|
---|