Files
UnrealEngineUWP/Engine/Source/Editor/Experimental/BazelExecutor/BazelExecutor.Build.cs
Joe Kirchoff 152203ac9d Update Win64 vcpkg to 2021.05.12, Linux will be enabled in a separate changelist
#rb none
#preflight 60c3ed4713e9fc00017b7358

[CL 16652339 by Joe Kirchoff in ue5-main branch]
2021-06-12 15:36:56 -04:00

38 lines
861 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, Linux, & LinuxAArch64, 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",
}
);
}
}
}