!if $(TPM1_ENABLE) == TRUE\r
NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
!endif\r
+!endif\r
+\r
+!if $(TPM2_ENABLE) == TRUE || $(CC_MEASUREMENT_ENABLE) == TRUE\r
+ #\r
+ # DxeTpm2MeasureBootLib provides security service of TPM2 measure boot and\r
+ # Confidential Computing (CC) measure boot. It should be controlled by\r
+ # TPM2_ENABLE and CC_MEASUREMENT_ENABLE\r
+ #\r
NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
!endif\r