Skip to content
Commit 0c6d851d authored by Chris Johnson's avatar Chris Johnson Committed by mergify[bot]
Browse files

UnitTestFrameworkPkg: Add subhook submodule required for gmock

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4389

Add subhook submodule that is required to hook internal functions
when using gmock.

    https://github.com/Zeex/subhook



Add SubhookLib library class and SubhookLib library instance.
Include the SUBHOOK_STATIC define in the SubhookLib INF file so
it builds as a static library. Also include the SUBHOOK_STATIC
define in SubhookLib.h so all modules using SubhookLib properly
link SubhookLib as a static library.

Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Signed-off-by: default avatarChris Johnson <chris.n.johnson@intel.com>
Reviewed-by: default avatarLeif Lindholm <quic_llindhol@quicinc.com>
Reviewed-by: default avatarMichael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: default avatarOliver Smith-Denny <osde@linux.microsoft.com>
Reviewed-by: default avatarMichael D Kinney <michael.d.kinney@intel.com>
parent 6405cd03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment