// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tools.DotNETCommon;
namespace UnrealBuildTool
{
///
/// Represents a Mac/IOS framework
///
class UEBuildFramework
{
///
/// The name of this framework
///
public readonly string Name;
///
/// Path to a zip file containing the framework. May be null.
///
public readonly FileReference ZipFile;
///
/// Path to the extracted framework directory.
///
public readonly DirectoryReference OutputDirectory;
///
///
///
public readonly string CopyBundledAssets;
///
/// File created after the framework has been extracted. Used to add dependencies into the action graph.
///
public FileItem ExtractedTokenFile;
///
/// Constructor
///
/// The framework name
///
public UEBuildFramework(string Name, string CopyBundledAssets = null)
{
this.Name = Name;
this.CopyBundledAssets = CopyBundledAssets;
}
///
/// Constructor
///
/// The framework name
/// Path to the zip file for this framework
/// Path for the extracted zip file
///
public UEBuildFramework(string Name, FileReference ZipFile, DirectoryReference OutputDirectory, string CopyBundledAssets)
{
this.Name = Name;
this.ZipFile = ZipFile;
this.OutputDirectory = OutputDirectory;
this.CopyBundledAssets = CopyBundledAssets;
}
}
}