[msbuild] Remove TLSProvider option (#1238)
* AppleTLS is the default since C7 and support up to TLS 1.2. * MonoTLS is limited to SSLv3 and TLSv1: both are being deprecated. * Note: C9 release notes already mention MonoTLS is deprecated and that it will be removed in the future.
This commit is contained in:
Родитель
d99212a712
Коммит
9fe8dca4a8
|
@ -47,9 +47,6 @@ namespace Xamarin.Mac.Tasks
|
||||||
[Required]
|
[Required]
|
||||||
public string TargetFrameworkVersion { get; set; }
|
public string TargetFrameworkVersion { get; set; }
|
||||||
|
|
||||||
[Required]
|
|
||||||
public string TLSProvider { get; set; }
|
|
||||||
|
|
||||||
[Required]
|
[Required]
|
||||||
public string SdkRoot { get; set; }
|
public string SdkRoot { get; set; }
|
||||||
|
|
||||||
|
@ -150,9 +147,6 @@ namespace Xamarin.Mac.Tasks
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (TargetFrameworkIdentifier == "Xamarin.Mac" && !string.IsNullOrEmpty (TLSProvider))
|
|
||||||
args.Add (string.Format ("--tls-provider={0}", TLSProvider.ToLowerInvariant()));
|
|
||||||
|
|
||||||
if (Profiling)
|
if (Profiling)
|
||||||
args.Add ("/profiling");
|
args.Add ("/profiling");
|
||||||
|
|
||||||
|
@ -256,7 +250,6 @@ namespace Xamarin.Mac.Tasks
|
||||||
Log.LogTaskProperty ("SdkRoot", SdkRoot);
|
Log.LogTaskProperty ("SdkRoot", SdkRoot);
|
||||||
Log.LogTaskProperty ("TargetFrameworkIdentifier", TargetFrameworkIdentifier);
|
Log.LogTaskProperty ("TargetFrameworkIdentifier", TargetFrameworkIdentifier);
|
||||||
Log.LogTaskProperty ("TargetFrameworkVersion", TargetFrameworkVersion);
|
Log.LogTaskProperty ("TargetFrameworkVersion", TargetFrameworkVersion);
|
||||||
Log.LogTaskProperty ("TLSProvider", TLSProvider);
|
|
||||||
Log.LogTaskProperty ("UseXamMacFullFramework", UseXamMacFullFramework);
|
Log.LogTaskProperty ("UseXamMacFullFramework", UseXamMacFullFramework);
|
||||||
Log.LogTaskProperty ("Profiling", Profiling);
|
Log.LogTaskProperty ("Profiling", Profiling);
|
||||||
Log.LogTaskProperty ("AppManifest", AppManifest);
|
Log.LogTaskProperty ("AppManifest", AppManifest);
|
||||||
|
|
|
@ -49,7 +49,6 @@ Copyright (C) 2013-2014 Xamarin. All rights reserved.
|
||||||
<I18n Condition="'$(I18n)' == ''"></I18n>
|
<I18n Condition="'$(I18n)' == ''"></I18n>
|
||||||
<IncludeMonoRuntime Condition="'$(IncludeMonoRuntime)' == ''">true</IncludeMonoRuntime>
|
<IncludeMonoRuntime Condition="'$(IncludeMonoRuntime)' == ''">true</IncludeMonoRuntime>
|
||||||
<MonoBundlingExtraArgs Condition="'$(MonoBundlingExtraArgs)' == ''"></MonoBundlingExtraArgs>
|
<MonoBundlingExtraArgs Condition="'$(MonoBundlingExtraArgs)' == ''"></MonoBundlingExtraArgs>
|
||||||
<TlsProvider Condition="'$(TlsProvider)' == ''">Default</TlsProvider>
|
|
||||||
<LinkMode Condition="'$(LinkMode)' == ''">None</LinkMode>
|
<LinkMode Condition="'$(LinkMode)' == ''">None</LinkMode>
|
||||||
<XamMacArch Condition="'$(XamMacArch)' == ''">x86_64</XamMacArch>
|
<XamMacArch Condition="'$(XamMacArch)' == ''">x86_64</XamMacArch>
|
||||||
<MonoMacResourcePrefix Condition="'$(MonoMacResourcePrefix)' == ''">Resources</MonoMacResourcePrefix>
|
<MonoMacResourcePrefix Condition="'$(MonoMacResourcePrefix)' == ''">Resources</MonoMacResourcePrefix>
|
||||||
|
|
|
@ -518,7 +518,6 @@ Copyright (C) 2014 Xamarin. All rights reserved.
|
||||||
LinkMode="$(LinkMode)"
|
LinkMode="$(LinkMode)"
|
||||||
Debug="$(DebugSymbols)"
|
Debug="$(DebugSymbols)"
|
||||||
HttpClientHandler="$(HttpClientHandler)"
|
HttpClientHandler="$(HttpClientHandler)"
|
||||||
TLSProvider="$(TlsProvider)"
|
|
||||||
I18n="$(I18n)"
|
I18n="$(I18n)"
|
||||||
Profiling="$(Profiling)"
|
Profiling="$(Profiling)"
|
||||||
ExtraArguments="$(MonoBundlingExtraArgs)"
|
ExtraArguments="$(MonoBundlingExtraArgs)"
|
||||||
|
|
|
@ -148,9 +148,6 @@ namespace Xamarin.iOS.Tasks
|
||||||
[Required]
|
[Required]
|
||||||
public string TargetFrameworkVersion { get; set; }
|
public string TargetFrameworkVersion { get; set; }
|
||||||
|
|
||||||
[Required]
|
|
||||||
public string TLSProvider { get; set; }
|
|
||||||
|
|
||||||
[Required]
|
[Required]
|
||||||
public bool UseLlvm { get; set; }
|
public bool UseLlvm { get; set; }
|
||||||
|
|
||||||
|
@ -451,9 +448,6 @@ namespace Xamarin.iOS.Tasks
|
||||||
if (!string.IsNullOrEmpty (HttpClientHandler))
|
if (!string.IsNullOrEmpty (HttpClientHandler))
|
||||||
args.Add (string.Format ("--http-message-handler={0}", HttpClientHandler));
|
args.Add (string.Format ("--http-message-handler={0}", HttpClientHandler));
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty (TLSProvider))
|
|
||||||
args.Add (string.Format ("--tls-provider={0}", TLSProvider.ToLowerInvariant()));
|
|
||||||
|
|
||||||
string thumb = UseThumb && UseLlvm ? "+thumb2" : "";
|
string thumb = UseThumb && UseLlvm ? "+thumb2" : "";
|
||||||
string llvm = UseLlvm ? "+llvm" : "";
|
string llvm = UseLlvm ? "+llvm" : "";
|
||||||
string abi = "";
|
string abi = "";
|
||||||
|
@ -665,7 +659,6 @@ namespace Xamarin.iOS.Tasks
|
||||||
Log.LogTaskProperty ("SdkVersion", SdkVersion);
|
Log.LogTaskProperty ("SdkVersion", SdkVersion);
|
||||||
Log.LogTaskProperty ("SymbolsList", SymbolsList);
|
Log.LogTaskProperty ("SymbolsList", SymbolsList);
|
||||||
Log.LogTaskProperty ("TargetFrameworkIdentifier", TargetFrameworkIdentifier);
|
Log.LogTaskProperty ("TargetFrameworkIdentifier", TargetFrameworkIdentifier);
|
||||||
Log.LogTaskProperty ("TLSProvider", TLSProvider);
|
|
||||||
Log.LogTaskProperty ("UseFloat32", UseFloat32);
|
Log.LogTaskProperty ("UseFloat32", UseFloat32);
|
||||||
Log.LogTaskProperty ("UseLlvm", UseLlvm);
|
Log.LogTaskProperty ("UseLlvm", UseLlvm);
|
||||||
Log.LogTaskProperty ("UseThumb", UseThumb);
|
Log.LogTaskProperty ("UseThumb", UseThumb);
|
||||||
|
|
|
@ -40,7 +40,6 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
|
||||||
<MtouchEnableGenericValueTypeSharing Condition="'$(MtouchEnableGenericValueTypeSharing)' == ''">True</MtouchEnableGenericValueTypeSharing>
|
<MtouchEnableGenericValueTypeSharing Condition="'$(MtouchEnableGenericValueTypeSharing)' == ''">True</MtouchEnableGenericValueTypeSharing>
|
||||||
<MtouchFastDev Condition="'$(MtouchFastDev)' == ''">False</MtouchFastDev>
|
<MtouchFastDev Condition="'$(MtouchFastDev)' == ''">False</MtouchFastDev>
|
||||||
<MtouchHttpClientHandler Condition="'$(MtouchHttpClientHandler)' == ''">HttpClientHandler</MtouchHttpClientHandler>
|
<MtouchHttpClientHandler Condition="'$(MtouchHttpClientHandler)' == ''">HttpClientHandler</MtouchHttpClientHandler>
|
||||||
<MtouchTlsProvider Condition="'$(MtouchTlsProvider)' == ''">Default</MtouchTlsProvider>
|
|
||||||
<MtouchProfiling Condition="'$(MtouchProfiling)' == ''">False</MtouchProfiling>
|
<MtouchProfiling Condition="'$(MtouchProfiling)' == ''">False</MtouchProfiling>
|
||||||
<MtouchLinkerDumpDependencies Condition="'$(MtouchLinkerDumpDependencies)' == ''">False</MtouchLinkerDumpDependencies>
|
<MtouchLinkerDumpDependencies Condition="'$(MtouchLinkerDumpDependencies)' == ''">False</MtouchLinkerDumpDependencies>
|
||||||
<MtouchLink Condition="'$(MtouchLink)' == ''">SdkOnly</MtouchLink>
|
<MtouchLink Condition="'$(MtouchLink)' == ''">SdkOnly</MtouchLink>
|
||||||
|
|
|
@ -709,7 +709,6 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
|
||||||
ExtraArgs="$(MtouchExtraArgs)"
|
ExtraArgs="$(MtouchExtraArgs)"
|
||||||
FastDev="$(MtouchFastDev)"
|
FastDev="$(MtouchFastDev)"
|
||||||
HttpClientHandler="$(MtouchHttpClientHandler)"
|
HttpClientHandler="$(MtouchHttpClientHandler)"
|
||||||
TLSProvider="$(MtouchTlsProvider)"
|
|
||||||
I18n="$(MtouchI18n)"
|
I18n="$(MtouchI18n)"
|
||||||
IntermediateOutputPath="$(DeviceSpecificIntermediateOutputPath)mtouch-cache"
|
IntermediateOutputPath="$(DeviceSpecificIntermediateOutputPath)mtouch-cache"
|
||||||
IsAppExtension="$(IsAppExtension)"
|
IsAppExtension="$(IsAppExtension)"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче