You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
@@ -2,33 +2,11 @@
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
<Import Project="$(MSBuildProjectName).props" />
|
||||
|
||||
<ItemGroup>
|
||||
<!-- identity project, runtime specific projects are included by props above. Will not be built on uapaot builds. -->
|
||||
<!-- Identity project, runtime specific projects are included uap.rids.props.
|
||||
Will not be built on uapaot builds. https://github.com/dotnet/corefx/issues/18098 -->
|
||||
<Project Include="$(MSBuildProjectName).pkgproj" Condition="'$(TargetGroup)'=='uap'" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
|
||||
|
||||
<PropertyGroup>
|
||||
<TraversalBuildDependsOn>
|
||||
FilterProjects;
|
||||
$(TraversalBuildDependsOn);
|
||||
</TraversalBuildDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="FilterProjects">
|
||||
<Error Condition="'$(PackageRID)' == ''" Text="'PackageRID' property must be specified."/>
|
||||
|
||||
<!-- Only build packages for current RID -->
|
||||
<ItemGroup>
|
||||
<_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == '$(PackageRID)' OR '%(Project.PackageTargetRuntime)' == ''" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Project Remove="@(Project)" />
|
||||
<Project Include="@(_projectsToBuild)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -2,116 +2,69 @@
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
<Import Project="$(MSBuildProjectName).props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<IsLineupPackage Condition="'$(PackageTargetRuntime)' == ''">true</IsLineupPackage>
|
||||
<PreventImplementationReference Condition="'$(PackageTargetRuntime)' != ''">true</PreventImplementationReference>
|
||||
<TargetFrameworkName>uap</TargetFrameworkName>
|
||||
<TargetFrameworkVersion>10.1</TargetFrameworkVersion>
|
||||
<TargetFramework>$(TargetFrameworkName)$(TargetFrameworkVersion)</TargetFramework>
|
||||
<SkipPackageFileCheck>true</SkipPackageFileCheck>
|
||||
<SkipValidatePackage>true</SkipValidatePackage>
|
||||
|
||||
<RefBinDir>$(UAPPackageRefPath)</RefBinDir>
|
||||
<LibBinDir>$(UAPPackageRuntimePath)</LibBinDir>
|
||||
<LibBinDir Condition="$(PackageTargetRuntime.EndsWith('-aot'))">$(UAPAOTPackageRuntimePath)</LibBinDir>
|
||||
|
||||
<NETStandardVersion>2.0</NETStandardVersion>
|
||||
<IsFrameworkPackage>true</IsFrameworkPackage>
|
||||
|
||||
<!-- Include symbols in package by default-->
|
||||
<!-- Private packages need symbols -->
|
||||
<IncludeSymbolsInPackage Condition="'$(IncludeSymbolsInPackage)' == ''">true</IncludeSymbolsInPackage>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Condition="'$(PackageTargetRuntime)' == ''" Project="$(RefBinDir)\*.props" />
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' == ''">
|
||||
<!-- Include refs -->
|
||||
<File Include="@(FileToPackage)">
|
||||
<TargetPath Condition="'%(File.TargetPath)' == ''">ref/$(TargetFramework)</TargetPath>
|
||||
</File>
|
||||
<!-- force a missing file if ref build is absent -->
|
||||
<File Include="$(RefBinDir)/MISSING_REF_BUILD" Condition="'@(FileToPackage)' == ''" />
|
||||
|
||||
<_buildRIDWithMetadata Include="@(BuildRID)">
|
||||
<TargetRuntime>%(Identity)</TargetRuntime>
|
||||
<Version>$(PackageVersion)</Version>
|
||||
</_buildRIDWithMetadata>
|
||||
<Dependency Include="@(_buildRIDWithMetadata->'runtime.%(Identity).$(Id)')" />
|
||||
|
||||
<Dependency Include="Microsoft.NETCore.Platforms">
|
||||
<Version>$(PlatformPackageVersion)</Version>
|
||||
</Dependency>
|
||||
</ItemGroup>
|
||||
|
||||
<Import Condition="'$(PackageTargetRuntime)' != ''" Project="$(LibBinDir)\*.props" />
|
||||
<ItemGroup Condition="'$(PackageTargetRuntime)' != ''">
|
||||
<!-- Include lib -->
|
||||
<File Include="@(FileToPackage)">
|
||||
<TargetPath Condition="'%(File.TargetPath)' == ''">runtimes/$(PackageTargetRuntime)/lib/$(TargetFramework)</TargetPath>
|
||||
</File>
|
||||
<!-- force a missing file if lib build is absent -->
|
||||
<File Include="$(LibBinDir)/MISSING_LIB_BUILD" Condition="'@(FileToPackage)' == ''" />
|
||||
|
||||
<!-- Include native -->
|
||||
<ExcludeNative Include="$(NativeBinDir)/*.lib" />
|
||||
<NativeFile Include="$(NativeBinDir)/*.*" Exclude="@(ExcludeNative)">
|
||||
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
|
||||
</NativeFile>
|
||||
<File Include="@(NativeFile)" />
|
||||
<!-- force a missing file if native build is absent -->
|
||||
<File Include="$(NativeBinDir)/MISSING_NATIVE_BUILD" Condition="'@(NativeFile)' == ''" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<IgnoredReference Include="System.Private.CoreLib" />
|
||||
<IgnoredReference Include="Windows" />
|
||||
<IgnoredReference Include="System.Private.Interop" />
|
||||
<IgnoredReference Include="Microsoft.Win32.Registry" /> <!-- Ignore for now since it's being exclude from closure below. Issue https://github.com/dotnet/corefx/issues/15966 -->
|
||||
<IgnoredReference Include="System.IO.IsolatedStorage" /> <!-- Ignore for now since it's being exclude from closure below. Issue https://github.com/dotnet/corefx/issues/15968 -->
|
||||
|
||||
<ExcludeFromClosure Include="System.IO.IsolatedStorage" /> <!-- IsolatedStorage depends on AccessControl which is not available for UAP -->
|
||||
<ExcludeFromClosure Include="Microsoft.Win32.Registry" /> <!-- Most likely this one will be removed from the package, it's just there today for the closure -->
|
||||
<!-- Exclude shims from the closure verification -->
|
||||
<ExcludeFromClosure Include="mscorlib" />
|
||||
<ExcludeFromClosure Include="System" />
|
||||
<ExcludeFromClosure Include="System.Configuration" />
|
||||
<ExcludeFromClosure Include="System.Core" />
|
||||
<ExcludeFromClosure Include="System.Data" />
|
||||
<ExcludeFromClosure Include="System.Drawing" />
|
||||
<ExcludeFromClosure Include="System.Net" />
|
||||
<ExcludeFromClosure Include="System.Security" />
|
||||
<ExcludeFromClosure Include="System.ServiceProcess" />
|
||||
<ExcludeFromClosure Include="System.Transactions" />
|
||||
<ExcludeFromClosure Include="WindowsBase" />
|
||||
|
||||
<ExcludeFromDuplicateTypes Include="System.Private.Reflection.Metadata.Ecma335" />
|
||||
|
||||
<!-- Permit the following implementation-only assemblies -->
|
||||
<ValidatePackageSuppression Condition="'$(PackageTargetRuntime)' != ''" Include="PermitInbox">
|
||||
<Value>
|
||||
Microsoft.VisualBasic;
|
||||
System.Diagnostics.DiagnosticSource;
|
||||
System.Private.DataContractSerialization;
|
||||
System.Private.Uri;
|
||||
System.Private.Xml;
|
||||
System.Private.Xml.Linq;
|
||||
System.Reflection.Emit.ILGeneration;
|
||||
System.Reflection.Emit.Lightweight;
|
||||
System.Reflection.Emit;
|
||||
System.Security.AccessControl;
|
||||
System.Security.Cryptography.Cng;
|
||||
System.Security.Principal.Windows;
|
||||
System.Threading.Tasks.Extensions;
|
||||
</Value>
|
||||
</ValidatePackageSuppression>
|
||||
<ValidatePackageSuppression Condition="'$(PackageTargetRuntime)' != '' AND '$(TargetGroup)' == 'uapaot'" Include="PermitInbox">
|
||||
<Value>
|
||||
System.Private.Reflection.Metadata.Ecma335;
|
||||
</Value>
|
||||
</ValidatePackageSuppression>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="VerifyClosure" AfterTargets="Build">
|
||||
<ItemGroup>
|
||||
<ExcludeFromClosure Include="System.IO.IsolatedStorage" /> <!-- IsolatedStorage depends on AccessControl which is not available for UAP -->
|
||||
<ExcludeFromClosure Include="Microsoft.Win32.Registry" /> <!-- Most likely this one will be removed from the package, it's just there today for the closure -->
|
||||
<!-- Exclude shims from the closure verification -->
|
||||
<ExcludeFromClosure Include="mscorlib" />
|
||||
<ExcludeFromClosure Include="System" />
|
||||
<ExcludeFromClosure Include="System.Core" />
|
||||
<ExcludeFromClosure Include="System.Data" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<_fileExisting Include="@(File)" Condition="Exists(%(FullPath))"/>
|
||||
|
||||
<_fileNames Include="@(_fileExisting -> '%(FileName)')" Exclude="@(ExcludeFromClosure)">
|
||||
<Original>%(_fileExisting.Identity)</Original>
|
||||
</_fileNames>
|
||||
<_filesFiltered Include="@(_fileNames->'%(Original)')" />
|
||||
</ItemGroup>
|
||||
|
||||
<VerifyClosure Sources="@(_filesFiltered)"
|
||||
IgnoredReferences="@(IgnoredReference)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="VerifyNETStandard" AfterTargets="Build">
|
||||
<ItemGroup>
|
||||
<_NETStandardFile Include="$(PackagesDir)$(NETStandardPackageId)\$(NETStandardPackageVersion)\ref\netstandard$(NETStandardVersion)\*.dll" />
|
||||
<_NETStandardMissingFile Include="@(_NETStandardFile->'%(FileName)')" Exclude="@(File->'%(FileName)')" />
|
||||
<_NETStandardMissingFileError Include="@(_NETStandardMissingFile)" Exclude="@(SuppressNETStandardMissingFile)" />
|
||||
<_NETStandardSuppressedMissingFile Include="@(_NETStandardMissingFile)" Exclude="@(_NETStandardMissingFileError)" />
|
||||
</ItemGroup>
|
||||
<Message Condition="'@(_NETStandardSuppressedMissingFile)' != ''" Text="Files'@(_NETStandardSuppressedMissingFile)' are part of '$(NETStandardPackageId)' but missing from this package. This error has been suppressed." />
|
||||
<Error Condition="'@(_NETStandardMissingFileError)' != ''" Text="Files '@(_NETStandardMissingFileError)' are part of '$(NETStandardPackageId)' but missing from this package." />
|
||||
</Target>
|
||||
|
||||
<Target Name="GetSymbolPackageFiles" BeforeTargets="GetPackageFiles">
|
||||
<ItemGroup>
|
||||
<File>
|
||||
<IsSymbolFile Condition="'%(Extension)' == '.pdb'">true</IsSymbolFile>
|
||||
<IsSymbolFile Condition="'$(SymbolFileExtension)' != '' AND'%(Extension)' == '$(SymbolFileExtension)'">true</IsSymbolFile>
|
||||
</File>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<_runtimeOSVersionIndex>$(RuntimeOS.IndexOfAny(".-0123456789"))</_runtimeOSVersionIndex>
|
||||
<_runtimeOSFamily Condition="'$(_runtimeOSVersionIndex)' != '-1'">$(RuntimeOS.SubString(0, $(_runtimeOSVersionIndex)))</_runtimeOSFamily>
|
||||
<_aotSuffix Condition="'$(TargetGroup)' == 'uapaot'">-aot</_aotSuffix>
|
||||
</PropertyGroup>
|
||||
|
||||
<Choose>
|
||||
<When Condition="'$(PackageRID)' != ''" />
|
||||
<When Condition="'$(_runtimeOSFamily)' == 'win'">
|
||||
<PropertyGroup>
|
||||
<PackageRID Condition="'$(ArchGroup)' == 'x86' OR '$(ArchGroup)' == 'x64'">win7-$(ArchGroup)$(_aotSuffix)</PackageRID>
|
||||
<PackageRID Condition="'$(ArchGroup)' == 'arm'">win8-$(ArchGroup)$(_aotSuffix)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<Otherwise>
|
||||
<PropertyGroup>
|
||||
<PackageRID>$(RuntimeOS)-$(ArchGroup)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
<ItemGroup>
|
||||
<OfficialBuildRID Include="win10-x86">
|
||||
<Platform>x86</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x64" />
|
||||
<OfficialBuildRID Include="win10-arm">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x86-aot">
|
||||
<Platform>x86</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x64-aot" />
|
||||
<OfficialBuildRID Include="win10-arm-aot">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
|
||||
<!-- Ensure we have a RID-specific package for the current build, even if it isn't in our official set -->
|
||||
<BuildRID Include="@(OfficialBuildRID)" Exclude="$(PackageRID)"/>
|
||||
<BuildRID Include="$(PackageRID)">
|
||||
<Platform Condition="'$(ArchGroup)' == 'x64'">amd64</Platform>
|
||||
<Platform Condition="'$(ArchGroup)' != 'x64'">$(ArchGroup)</Platform>
|
||||
</BuildRID>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<_project Include="@(BuildRID)">
|
||||
<Platform Condition="'%(Platform)' == ''">amd64</Platform>
|
||||
<PackageTargetRuntime>%(Identity)</PackageTargetRuntime>
|
||||
<AdditionalProperties>PackageTargetRuntime=%(Identity);Platform=%(Platform)</AdditionalProperties>
|
||||
</_project>
|
||||
|
||||
<Project Include="@(_project->'$(MSBuildProjectName).pkgproj')" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
37
external/corefx/pkg/Microsoft.Private.CoreFx.UAP/uap.rids.props
vendored
Normal file
37
external/corefx/pkg/Microsoft.Private.CoreFx.UAP/uap.rids.props
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<_aotSuffix Condition="'$(TargetGroup)' == 'uapaot'">-aot</_aotSuffix>
|
||||
</PropertyGroup>
|
||||
|
||||
<Choose>
|
||||
<When Condition="'$(PackageRID)' != ''" />
|
||||
<When Condition="'$(_runtimeOSFamily)' == 'win'">
|
||||
<PropertyGroup>
|
||||
<PackageRID>win10-$(ArchGroup)$(_aotSuffix)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<Otherwise>
|
||||
<PropertyGroup>
|
||||
<PackageRID>$(RuntimeOS)-$(ArchGroup)</PackageRID>
|
||||
</PropertyGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
<ItemGroup>
|
||||
<OfficialBuildRID Include="win10-x86">
|
||||
<Platform>x86</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x64" />
|
||||
<OfficialBuildRID Include="win10-arm">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x86-aot">
|
||||
<Platform>x86</Platform>
|
||||
</OfficialBuildRID>
|
||||
<OfficialBuildRID Include="win10-x64-aot" />
|
||||
<OfficialBuildRID Include="win10-arm-aot">
|
||||
<Platform>arm</Platform>
|
||||
</OfficialBuildRID>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user