mirror of https://github.com/acidanthera/audk.git
48 lines
1.7 KiB
Plaintext
48 lines
1.7 KiB
Plaintext
## @file
|
|
# MdePkg DSC file used to build host-based unit tests.
|
|
#
|
|
# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
|
|
# Copyright (C) Microsoft Corporation.
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
PLATFORM_NAME = MdePkgHostTest
|
|
PLATFORM_GUID = 50652B4C-88CB-4481-96E8-37F2D0034440
|
|
PLATFORM_VERSION = 0.1
|
|
DSC_SPECIFICATION = 0x00010005
|
|
OUTPUT_DIRECTORY = Build/MdePkg/HostTest
|
|
SUPPORTED_ARCHITECTURES = IA32|X64
|
|
BUILD_TARGETS = NOOPT
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
!include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
|
|
|
|
[LibraryClasses]
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
|
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibBase.inf
|
|
|
|
[Components]
|
|
#
|
|
# Build HOST_APPLICATION that tests the SafeIntLib
|
|
#
|
|
MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibHost.inf
|
|
MdePkg/Test/UnitTest/Library/BaseLib/BaseLibUnitTestsHost.inf
|
|
MdePkg/Test/GoogleTest/Library/BaseSafeIntLib/GoogleTestBaseSafeIntLib.inf
|
|
MdePkg/Test/UnitTest/Library/DevicePathLib/TestDevicePathLibHost.inf
|
|
#
|
|
# BaseLib tests
|
|
#
|
|
MdePkg/Test/GoogleTest/Library/BaseLib/GoogleTestBaseLib.inf
|
|
|
|
#
|
|
# Build HOST_APPLICATION Libraries
|
|
#
|
|
MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf
|
|
MdePkg/Test/Mock/Library/GoogleTest/MockUefiLib/MockUefiLib.inf
|
|
MdePkg/Test/Mock/Library/GoogleTest/MockUefiRuntimeServicesTableLib/MockUefiRuntimeServicesTableLib.inf
|
|
MdePkg/Test/Mock/Library/GoogleTest/MockPeiServicesLib/MockPeiServicesLib.inf
|
|
MdePkg/Test/Mock/Library/GoogleTest/MockHobLib/MockHobLib.inf
|