cs_fdo_absolute_path should have set the FDOBuildType as CSFDO.
This fixed an oversight that not setting FDOBuildType in option
cs_fdo_absolute_path.
RELNOTES:
set the FDOBuildType as CSFDO for binaries built with --cs_fdo_absolute_path.
@@ -996,7 +996,9 @@ public class CppOptions extends FragmentOptions {
/** Returns true if targets under this configuration should apply CSFdo. */
public boolean isCSFdo() {
- return ((getFdoOptimize() != null || fdoProfileLabel != null)
- && (csFdoInstrumentForBuild != null || csFdoProfileLabel != null));
+ return (getFdoOptimize() != null || fdoProfileLabel != null)
+ && (csFdoInstrumentForBuild != null
+ || csFdoProfileLabel != null
+ || csFdoAbsolutePathForBuild != null);
}
}
