Slim down engine source build?

Allright, so my build just finished with 3 failed projects.
Errors are:



- Error    C2039    'MergeShaderCacheFiles': is not a member of 'FShaderCache'    ShaderCacheTool    C:\Users\\Documents\Git\UnrealEngine\Engine\Source\Programs\Mac\ShaderCacheTool\Private\ShaderCacheTool.cpp    66
- Error    CS0006    Metadata file 'C:\Users\\Documents\Git\UnrealEngine\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll' could not be found    AutomationTool    C:\Users\\Documents\Git\UnrealEngine\Engine\Source\Programs\AutomationTool\CSC ... (For each unloaded project)
- Error    C1083    Cannot open include file: 'Interfaces/IAutomationWorkerModule.h': No such file or directory    BuildPatchTool    C:\Users\\Documents\Git\UnrealEngine\Engine\Source\Programs\BuildPatchTool\Private\ToolModes\AutomationMode.cpp    12


So now I’m going to do some reasearch… will edit this post for each error solved:

  • As for the error “‘MergeShaderCacheFiles’: is not a member of ‘FShaderCache’” - it seems that the project/program this code belongs to, ‘ShaderCacheTools’, is Mac only (considering all the code for this is under a /Mac/ directory), so I’ve now unloaded it. In addition, I checked all other Programs/<Project>'s, and found the following to be Mac/IOS only (due to the folder-name subfolder’ing) and unloaded them: ‘DsymExporter’ (Mac), ‘UE4EditorServies’ (Mac), ‘UnrealAtoS’ (Mac) and ‘UnrealLaunchDaemon’ (IOS).