* Remove IsXcode8

* Remove other _ForgeMetal references
This commit is contained in:
Filip Navara 2021-09-09 09:23:32 +02:00 коммит произвёл GitHub
Родитель cb998a3589
Коммит 219fb1a753
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 3 добавлений и 29 удалений

Просмотреть файл

@ -216,7 +216,6 @@
_CompileCoreMLModels;
_CreatePkgInfo;
_SmeltMetal;
_ForgeMetal;
_TemperMetal;
_CompileEntitlements;
_DetectAppManifest;

Просмотреть файл

@ -51,7 +51,6 @@ Copyright (C) 2014 Xamarin. All rights reserved.
_DetectSigningIdentity;
_CopyResourcesToBundle;
_SmeltMetal;
_ForgeMetal;
_TemperMetal;
_CompileEntitlements;
_WriteAppManifest;

Просмотреть файл

@ -55,11 +55,6 @@ namespace Xamarin.MacDev.Tasks {
get; set;
}
[Output]
public bool IsXcode8 {
get; set;
}
// This is also an input
[Output]
public string XamarinSdkRoot {
@ -157,8 +152,6 @@ namespace Xamarin.MacDev.Tasks {
EnsureSdkPath ();
EnsureXamarinSdkRoot ();
IsXcode8 = AppleSdkSettings.XcodeVersion.Major >= 8;
return !Log.HasLoggedErrors;
}

Просмотреть файл

@ -901,27 +901,12 @@ Copyright (C) 2018 Microsoft. All rights reserved.
</Metal>
</Target>
<Target Name="_ForgeMetal" Condition="'$(_CanOutputAppBundle)' == 'true' And '@(_SmeltedMetal)' != ''" DependsOnTargets="_SmeltMetal"
Inputs="@(_SmeltedMetal)" Outputs="$(DeviceSpeficicIntermediateOutputPath)metal\default.metal-ar">
<ArTool
SessionId="$(BuildSessionId)"
Condition="'$(IsMacEnabled)' == 'true' and '$(_IsXcode8)' == 'false'"
Items="@(_SmeltedMetal)"
Archive="$(DeviceSpecificIntermediateOutputPath)metal\default.metal-ar">
</ArTool>
<ItemGroup>
<_ForgedMetal Condition="'$(_IsXcode8)' == 'false'" Include="$(DeviceSpecificIntermediateOutputPath)metal\default.metal-ar" />
<_ForgedMetal Condition="'$(_IsXcode8)' == 'true'" Include="@(_SmeltedMetal)" />
</ItemGroup>
</Target>
<Target Name="_TemperMetal" Condition="'$(_CanOutputAppBundle)' == 'true' And '@(_ForgedMetal)' != ''" DependsOnTargets="_ForgeMetal;_GenerateBundleName"
Inputs="@(_ForgedMetal)" Outputs="$(_AppResourcesPath)default.metallib">
<Target Name="_TemperMetal" Condition="'$(_CanOutputAppBundle)' == 'true' And '@(_SmeltedMetal)' != ''" DependsOnTargets="_GenerateBundleName"
Inputs="@(_SmeltedMetal)" Outputs="$(_AppResourcesPath)default.metallib">
<MetalLib
SessionId="$(BuildSessionId)"
Condition="'$(IsMacEnabled)' == 'true'"
Items="@(_ForgedMetal)"
Items="@(_SmeltedMetal)"
SdkDevPath="$(_SdkDevPath)"
SdkRoot="$(_SdkRoot)"
OutputLibrary="$(_AppResourcesPath)default.metallib">
@ -1107,7 +1092,6 @@ Copyright (C) 2018 Microsoft. All rights reserved.
<Output TaskParameter="SdkUsrPath" PropertyName="_SdkUsrPath" />
<Output TaskParameter="SdkPlatform" PropertyName="_SdkPlatform" />
<Output TaskParameter="SdkIsSimulator" PropertyName="_SdkIsSimulator" />
<Output TaskParameter="IsXcode8" PropertyName="_IsXcode8" />
<Output TaskParameter="XamarinSdkRoot" PropertyName="_XamarinSdkRoot" />
</DetectSdkLocations>
</Target>

Просмотреть файл

@ -112,7 +112,6 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
_CopyResourcesToBundle;
_CreateAssetPackManifest;
_SmeltMetal;
_ForgeMetal;
_TemperMetal;
_CompileCoreMLModels;
_PrepareResourceRules;