REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2800
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2799
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2798
Update the default unit test library mappings to use the
library instances from the MdePkg that are safe for host
based unit tests.
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com>
!include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc\r
\r
[LibraryClasses.common.HOST_APPLICATION]\r
+ BaseLib|MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf\r
+ UnitTestHostBaseLib|MdePkg/Library/BaseLib/UnitTestHostBaseLib.inf\r
+ CpuLib|MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.inf\r
+ CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLibNull/BaseCacheMaintenanceLibNull.inf\r
CmockaLib|UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib.inf\r
UnitTestLib|UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLibCmocka.inf\r
DebugLib|UnitTestFrameworkPkg/Library/Posix/DebugLibPosix/DebugLibPosix.inf\r