From 99809cd3d01496af6fe973fd0364f06846769640 Mon Sep 17 00:00:00 2001 From: Tom Deseyn Date: Mon, 17 Jul 2017 19:01:20 +0200 Subject: Move RID computations to dir.props Move the RID calculation to the common dir.props file. Compute a ToolRuntimeRID to be used for assets that need to run as part of the tools infrastructure to build things. Compute PackageRID which will be used as the target RID for the assets that are being built. Make sure both ToolRuntimeRID and PackageRID honor both a specific and a portable RID. --- .../netcoreapp.rids.props | 9 --------- pkg/Microsoft.Private.CoreFx.UAP/uap.rids.props | 18 ------------------ pkg/dir.props | 11 ++--------- 3 files changed, 2 insertions(+), 36 deletions(-) (limited to 'pkg') diff --git a/pkg/Microsoft.Private.CoreFx.NETCoreApp/netcoreapp.rids.props b/pkg/Microsoft.Private.CoreFx.NETCoreApp/netcoreapp.rids.props index 6269203455..ef4618d15b 100644 --- a/pkg/Microsoft.Private.CoreFx.NETCoreApp/netcoreapp.rids.props +++ b/pkg/Microsoft.Private.CoreFx.NETCoreApp/netcoreapp.rids.props @@ -1,14 +1,5 @@  - - linux-$(ArchGroup) - osx-$(ArchGroup) - win-$(ArchGroup) - - - $(RuntimeOS)-$(ArchGroup) - - arm diff --git a/pkg/Microsoft.Private.CoreFx.UAP/uap.rids.props b/pkg/Microsoft.Private.CoreFx.UAP/uap.rids.props index c92651a996..4dda2a8ff5 100644 --- a/pkg/Microsoft.Private.CoreFx.UAP/uap.rids.props +++ b/pkg/Microsoft.Private.CoreFx.UAP/uap.rids.props @@ -1,23 +1,5 @@ - - <_aotSuffix Condition="'$(TargetGroup)' == 'uapaot'">-aot - - - - - - - win10-$(ArchGroup)$(_aotSuffix) - - - - - $(RuntimeOS)-$(ArchGroup) - - - - x86 diff --git a/pkg/dir.props b/pkg/dir.props index 0e27f9cdcb..aee4309040 100644 --- a/pkg/dir.props +++ b/pkg/dir.props @@ -2,20 +2,13 @@ - - <_runtimeOSVersionIndex>$(RuntimeOS.IndexOfAny(".-0123456789")) - <_runtimeOSFamily Condition="'$(_runtimeOSVersionIndex)' != '-1'">$(RuntimeOS.SubString(0, $(_runtimeOSVersionIndex))) - - + that defines the OfficialBuildRID item: all RIDs targeted by the package --> - + amd64 -- cgit v1.2.3