1 | ## @file
|
---|
2 | # MdePkg DSC file used to build host-based unit tests.
|
---|
3 | #
|
---|
4 | # Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
|
---|
5 | # Copyright (C) Microsoft Corporation.
|
---|
6 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
7 | #
|
---|
8 | ##
|
---|
9 |
|
---|
10 | [Defines]
|
---|
11 | PLATFORM_NAME = MdePkgHostTest
|
---|
12 | PLATFORM_GUID = 50652B4C-88CB-4481-96E8-37F2D0034440
|
---|
13 | PLATFORM_VERSION = 0.1
|
---|
14 | DSC_SPECIFICATION = 0x00010005
|
---|
15 | OUTPUT_DIRECTORY = Build/MdePkg/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 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
---|
24 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
---|
25 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibBase.inf
|
---|
26 |
|
---|
27 | [Components]
|
---|
28 | #
|
---|
29 | # Build HOST_APPLICATION that tests the SafeIntLib
|
---|
30 | #
|
---|
31 | MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibHost.inf
|
---|
32 | MdePkg/Test/UnitTest/Library/BaseLib/BaseLibUnitTestsHost.inf
|
---|
33 | MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/GoogleTestBaseSafeIntLib.inf
|
---|
34 | MdePkg/Test/UnitTest/Library/DevicePathLib/TestDevicePathLibHost.inf
|
---|
35 | #
|
---|
36 | # BaseLib tests
|
---|
37 | #
|
---|
38 | MdePkg/Test/GoogleTest/Library/BaseLib/GoogleTestBaseLib.inf
|
---|
39 |
|
---|
40 | #
|
---|
41 | # Build HOST_APPLICATION Libraries
|
---|
42 | #
|
---|
43 | MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf
|
---|
44 | MdePkg/Test/Mock/Library/GoogleTest/MockUefiLib/MockUefiLib.inf
|
---|
45 | MdePkg/Test/Mock/Library/GoogleTest/MockUefiRuntimeServicesTableLib/MockUefiRuntimeServicesTableLib.inf
|
---|
46 | MdePkg/Test/Mock/Library/GoogleTest/MockUefiBootServicesTableLib/MockUefiBootServicesTableLib.inf
|
---|
47 | MdePkg/Test/Mock/Library/GoogleTest/MockPeiServicesLib/MockPeiServicesLib.inf
|
---|
48 | MdePkg/Test/Mock/Library/GoogleTest/MockHobLib/MockHobLib.inf
|
---|
49 | MdePkg/Test/Mock/Library/GoogleTest/MockFdtLib/MockFdtLib.inf
|
---|