37 строки
1.1 KiB
C#
37 строки
1.1 KiB
C#
using System;
|
|
using System.Linq;
|
|
|
|
namespace Xamarin.Bundler {
|
|
public partial class Application
|
|
{
|
|
public const string ProductName = "Xamarin.Mac";
|
|
public const string Error91LinkerSuggestion = "use the dynamic registrar or set the managed linker behaviour to Link Platform or Link Framework SDKs Only in your project's Mac Build Options > Linker Behavior";
|
|
|
|
public bool IsSimulatorBuild => false;
|
|
public bool IsDeviceBuild => false;
|
|
public bool IsTodayExtension => false;
|
|
|
|
public string CustomBundleName = "MonoBundle";
|
|
public AOTOptions AOTOptions;
|
|
public bool? DisableLldbAttach = null;
|
|
public bool? DisableOmitFramePointer = null;
|
|
|
|
bool RequiresXcodeHeaders => Registrar == RegistrarMode.Static && LinkMode == LinkMode.None;
|
|
|
|
// Use this to get the single Abi we currently support for Xamarin.Mac.
|
|
// This makes it easy to find everywhere we need to update when Apple adds support for new Abis.
|
|
public Abi Abi { get { return Abis.First (); } }
|
|
|
|
internal void Initialize ()
|
|
{
|
|
if (DeploymentTarget == null)
|
|
DeploymentTarget = SdkVersions.MinOSXVersion;
|
|
}
|
|
|
|
void SelectRegistrar ()
|
|
{
|
|
Driver.SelectRegistrar ();
|
|
}
|
|
}
|
|
}
|