Files
UnrealEngineUWP/Engine/Source/Editor/Experimental/BazelExecutor/BazelExecutor.Build.cs
Joe Kirchoff 06c71c89a5 Rename HordeExecutor -> BazelExecutor
#rb trivial

[CL 16410380 by Joe Kirchoff in ue5-main branch]
2021-05-20 17:12:30 -04:00

38 lines
838 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
namespace UnrealBuildTool.Rules
{
public class BazelExecutor : ModuleRules
{
public BazelExecutor(ReadOnlyTargetRules Target) : base(Target)
{
if (Target.Platform != UnrealTargetPlatform.Win64)
{
// Grpc is currently only supported for Win64, set to external to prevent compiling for any other platform
Type = ModuleType.External;
PrecompileForTargets = PrecompileTargetsType.None;
return;
}
bUseUnity = false;
PrivateDefinitions.Add("GPR_FORBID_UNREACHABLE_CODE=0");
PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "Generated"));
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"Settings",
"Grpc",
"RemoteExecution",
}
);
}
}
}