Files
UnrealEngineUWP/Engine/Build/Graph/Tasks/Inc/Android/PGOProperties.xml
david harvey 0300784db5 PGO build graph changes:
- Moved PGO compile arguments into the platform-specific build configurations. Recommended changes to local build graphs for PGO:
      use   $(PGOOptimizeCompileArgs$(Platform))   instead of   -PGOOptimize
      use   $(PGOProfileCompileArgs$(Platform))   instead of  -PGOProfile

- Adding UseSampleBasedPGO option for sampler-based PGO profiling (Currently Win64 with Intel oneAPI 2024.0+ only)


#jira UE-215357
#rb Jerome.Delattre

[CL 33822009 by david harvey in ue5-main branch]
2024-05-22 02:42:37 -04:00

22 lines
1.3 KiB
XML

<?xml version='1.0' ?>
<BuildGraph xmlns="http://www.epicgames.com/BuildGraph" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.epicgames.com/BuildGraph ../../Schema.xsd" >
<!-- add us to the platform list-->
<!-- NOTE: Android not currently supported - it requires a packaged build & the general-purpose node doesn't support this yet
<Property Name="AllPGOPlatforms" Value="$(AllPGOPlatforms);Android" If="ContainsItem('$(TargetPlatforms)', 'Android', '+')"/>
-->
<!-- set platform-specific properties -->
<Property Name="PGOBinaryStagingPathAndroid" Value="$(ProjectName)/Binaries/Android/"/>
<Property Name="PGOProfileOutputPathAndroid" Value="$(ProjectPath)/Platforms/Android/Build/PGO"/>
<Property Name="PGOProfileOutputFilterAndroid" Value="*.profdata"/>
<Property Name="PGOProfileCommandLineAndroid" Value=""/>
<Property Name="PGOProfileRunTestArgsAndroid" Value=""/>
<Property Name="PGOProfileCompileArgsAndroid" Value="-ThinLTO -PGOProfile"/>
<Property Name="PGOOptimizeCompileArgsAndroid" Value="-PGOOptimize"/>
<Property Name="PGOCompileExtraBinariesAndroid" Value=""/>
<!-- no special preprocessing required for this platform -->
<Macro Name="PGOPrepareBuildForProfilingAndroid" Arguments="LocalStagingDir;Configuration"/>
</BuildGraph>