From 61619268805bace6b730de1237fd3c7545eb99b5 Mon Sep 17 00:00:00 2001 From: Davis Goodin Date: Mon, 6 Mar 2017 11:40:56 -0600 Subject: Add stripSymbols argument; refactor symbol package build (#9664) * Add argument to explicitly enable symbol stripping * Refactor symbol package build * Remove unnecessary native file distinctions * Remove unnecessary WindowsSymbolFile step --- .../runtime.Linux.Microsoft.NETCore.ILAsm.props | 19 +---- .../runtime.OSX.Microsoft.NETCore.ILAsm.props | 19 +---- ...untime.Windows_NT.Microsoft.NETCore.ILAsm.props | 15 +--- .../runtime.Linux.Microsoft.NETCore.ILDAsm.props | 18 +---- .../runtime.OSX.Microsoft.NETCore.ILDAsm.props | 19 +---- ...ntime.Windows_NT.Microsoft.NETCore.ILDAsm.props | 16 +--- .../runtime.Linux.Microsoft.NETCore.Jit.props | 19 +---- .../runtime.OSX.Microsoft.NETCore.Jit.props | 19 +---- .../runtime.Windows_NT.Microsoft.NETCore.Jit.props | 28 +------ .../runtime.Linux.Microsoft.NETCore.Native.props | 19 +---- .../runtime.OSX.Microsoft.NETCore.Native.props | 19 +---- .../Microsoft.NETCore.Runtime.CoreCLR.pkgproj | 3 + .../Microsoft.NETCore.Runtime.CoreCLR.props | 9 +++ ...e.Linux.Microsoft.NETCore.Runtime.CoreCLR.props | 52 +++---------- ...ime.OSX.Microsoft.NETCore.Runtime.CoreCLR.props | 49 +++--------- ...dows_NT.Microsoft.NETCore.Runtime.CoreCLR.props | 86 ++++++---------------- .../runtime.Linux.Microsoft.NETCore.TestHost.props | 19 +---- .../runtime.OSX.Microsoft.NETCore.TestHost.props | 19 +---- ...ime.Windows_NT.Microsoft.NETCore.TestHost.props | 14 +--- src/.nuget/dir.props | 17 +++++ src/.nuget/dir.targets | 84 +++++++++++++++++++++ 21 files changed, 186 insertions(+), 376 deletions(-) create mode 100644 src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/Microsoft.NETCore.Runtime.CoreCLR.props create mode 100644 src/.nuget/dir.targets (limited to 'src') diff --git a/src/.nuget/Microsoft.NETCore.ILAsm/runtime.Linux.Microsoft.NETCore.ILAsm.props b/src/.nuget/Microsoft.NETCore.ILAsm/runtime.Linux.Microsoft.NETCore.ILAsm.props index fa72b48619..a8019b21e6 100644 --- a/src/.nuget/Microsoft.NETCore.ILAsm/runtime.Linux.Microsoft.NETCore.ILAsm.props +++ b/src/.nuget/Microsoft.NETCore.ILAsm/runtime.Linux.Microsoft.NETCore.ILAsm.props @@ -1,21 +1,6 @@ - - - - runtimes/$(PackageTargetRuntime)/native - + - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.ILAsm/runtime.OSX.Microsoft.NETCore.ILAsm.props b/src/.nuget/Microsoft.NETCore.ILAsm/runtime.OSX.Microsoft.NETCore.ILAsm.props index 9048ff7544..a8019b21e6 100644 --- a/src/.nuget/Microsoft.NETCore.ILAsm/runtime.OSX.Microsoft.NETCore.ILAsm.props +++ b/src/.nuget/Microsoft.NETCore.ILAsm/runtime.OSX.Microsoft.NETCore.ILAsm.props @@ -1,21 +1,6 @@ - - - - runtimes/$(PackageTargetRuntime)/native - + - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.ILAsm/runtime.Windows_NT.Microsoft.NETCore.ILAsm.props b/src/.nuget/Microsoft.NETCore.ILAsm/runtime.Windows_NT.Microsoft.NETCore.ILAsm.props index 478c4600de..e08b0241c5 100644 --- a/src/.nuget/Microsoft.NETCore.ILAsm/runtime.Windows_NT.Microsoft.NETCore.ILAsm.props +++ b/src/.nuget/Microsoft.NETCore.ILAsm/runtime.Windows_NT.Microsoft.NETCore.ILAsm.props @@ -4,17 +4,6 @@ $(MinOSForArch)-$(PackagePlatform) - - - runtimes/$(PackageTargetRuntime)/native - + - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - + diff --git a/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.Linux.Microsoft.NETCore.ILDAsm.props b/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.Linux.Microsoft.NETCore.ILDAsm.props index 3e604c2538..f7ab15b664 100644 --- a/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.Linux.Microsoft.NETCore.ILDAsm.props +++ b/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.Linux.Microsoft.NETCore.ILDAsm.props @@ -1,20 +1,6 @@ - - - - runtimes/$(PackageTargetRuntime)/native - + - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.OSX.Microsoft.NETCore.ILDAsm.props b/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.OSX.Microsoft.NETCore.ILDAsm.props index c0a4d0f2b5..f7ab15b664 100644 --- a/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.OSX.Microsoft.NETCore.ILDAsm.props +++ b/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.OSX.Microsoft.NETCore.ILDAsm.props @@ -1,21 +1,6 @@ - - - - runtimes/$(PackageTargetRuntime)/native - + - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.Windows_NT.Microsoft.NETCore.ILDAsm.props b/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.Windows_NT.Microsoft.NETCore.ILDAsm.props index 850df28e6d..2f0e944982 100644 --- a/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.Windows_NT.Microsoft.NETCore.ILDAsm.props +++ b/src/.nuget/Microsoft.NETCore.ILDAsm/runtime.Windows_NT.Microsoft.NETCore.ILDAsm.props @@ -4,19 +4,7 @@ $(MinOSForArch)-$(PackagePlatform) - - - - runtimes/$(PackageTargetRuntime)/native - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - + + diff --git a/src/.nuget/Microsoft.NETCore.Jit/runtime.Linux.Microsoft.NETCore.Jit.props b/src/.nuget/Microsoft.NETCore.Jit/runtime.Linux.Microsoft.NETCore.Jit.props index cd0f45ea4f..b92d11ae59 100644 --- a/src/.nuget/Microsoft.NETCore.Jit/runtime.Linux.Microsoft.NETCore.Jit.props +++ b/src/.nuget/Microsoft.NETCore.Jit/runtime.Linux.Microsoft.NETCore.Jit.props @@ -1,21 +1,6 @@ - - - - runtimes/$(PackageTargetRuntime)/native - + - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.Jit/runtime.OSX.Microsoft.NETCore.Jit.props b/src/.nuget/Microsoft.NETCore.Jit/runtime.OSX.Microsoft.NETCore.Jit.props index 310f2a12a5..99cee0e68b 100644 --- a/src/.nuget/Microsoft.NETCore.Jit/runtime.OSX.Microsoft.NETCore.Jit.props +++ b/src/.nuget/Microsoft.NETCore.Jit/runtime.OSX.Microsoft.NETCore.Jit.props @@ -1,21 +1,6 @@ - - - - runtimes/$(PackageTargetRuntime)/native - + - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.Jit/runtime.Windows_NT.Microsoft.NETCore.Jit.props b/src/.nuget/Microsoft.NETCore.Jit/runtime.Windows_NT.Microsoft.NETCore.Jit.props index 49a2164401..1485fcca29 100644 --- a/src/.nuget/Microsoft.NETCore.Jit/runtime.Windows_NT.Microsoft.NETCore.Jit.props +++ b/src/.nuget/Microsoft.NETCore.Jit/runtime.Windows_NT.Microsoft.NETCore.Jit.props @@ -1,33 +1,13 @@ - - - - - runtimes/$(PackageTargetRuntime)/native - - - runtimes/$(CrossTargetComponentFolder)_$(PackagePlatform)/native - - - + + + + runtimes/$(PackageTargetRuntime)-aot/native - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - runtimes/$(CrossTargetComponentFolder)_$(PackagePlatform)/native - true - diff --git a/src/.nuget/Microsoft.NETCore.Native/runtime.Linux.Microsoft.NETCore.Native.props b/src/.nuget/Microsoft.NETCore.Native/runtime.Linux.Microsoft.NETCore.Native.props index 55a8deba19..87db2a7bd2 100644 --- a/src/.nuget/Microsoft.NETCore.Native/runtime.Linux.Microsoft.NETCore.Native.props +++ b/src/.nuget/Microsoft.NETCore.Native/runtime.Linux.Microsoft.NETCore.Native.props @@ -2,21 +2,6 @@ - - - - runtimes/$(PackageTargetRuntime)/native - + - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.Native/runtime.OSX.Microsoft.NETCore.Native.props b/src/.nuget/Microsoft.NETCore.Native/runtime.OSX.Microsoft.NETCore.Native.props index e338eb445e..8ce70300e5 100644 --- a/src/.nuget/Microsoft.NETCore.Native/runtime.OSX.Microsoft.NETCore.Native.props +++ b/src/.nuget/Microsoft.NETCore.Native/runtime.OSX.Microsoft.NETCore.Native.props @@ -2,21 +2,6 @@ - - - - runtimes/$(PackageTargetRuntime)/native - + - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/Microsoft.NETCore.Runtime.CoreCLR.pkgproj b/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/Microsoft.NETCore.Runtime.CoreCLR.pkgproj index b42a05595e..f6f6a73bc9 100644 --- a/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/Microsoft.NETCore.Runtime.CoreCLR.pkgproj +++ b/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/Microsoft.NETCore.Runtime.CoreCLR.pkgproj @@ -1,5 +1,8 @@  + + + diff --git a/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/Microsoft.NETCore.Runtime.CoreCLR.props b/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/Microsoft.NETCore.Runtime.CoreCLR.props new file mode 100644 index 0000000000..0e1f9db1c5 --- /dev/null +++ b/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/Microsoft.NETCore.Runtime.CoreCLR.props @@ -0,0 +1,9 @@ + + + + + + ref/netstandard1.0 + + + diff --git a/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.Linux.Microsoft.NETCore.Runtime.CoreCLR.props b/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.Linux.Microsoft.NETCore.Runtime.CoreCLR.props index 4cce4c85f4..2ba18808aa 100644 --- a/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.Linux.Microsoft.NETCore.Runtime.CoreCLR.props +++ b/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.Linux.Microsoft.NETCore.Runtime.CoreCLR.props @@ -5,48 +5,20 @@ <_PlatformDoesNotSupportNiFiles Condition="'$(Platform)' == 'armel'">true - - - - - - - - - - - + + + + + + + + + + + - - - runtimes/$(PackageTargetRuntime)/native - - - - runtimes/$(PackageTargetRuntime)/lib/netstandard1.0 - - - - ref/netstandard1.0 - - - tools - - - - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.OSX.Microsoft.NETCore.Runtime.CoreCLR.props b/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.OSX.Microsoft.NETCore.Runtime.CoreCLR.props index f8709fc55c..66f55bc6b3 100644 --- a/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.OSX.Microsoft.NETCore.Runtime.CoreCLR.props +++ b/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.OSX.Microsoft.NETCore.Runtime.CoreCLR.props @@ -1,47 +1,18 @@ - - - - - - - - - + + + + + + + + + - - - runtimes/$(PackageTargetRuntime)/native - - - - runtimes/$(PackageTargetRuntime)/lib/netstandard1.0 - - - - ref/netstandard1.0 - - - tools - - - - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.Windows_NT.Microsoft.NETCore.Runtime.CoreCLR.props b/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.Windows_NT.Microsoft.NETCore.Runtime.CoreCLR.props index 533864ce87..3919178b2a 100644 --- a/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.Windows_NT.Microsoft.NETCore.Runtime.CoreCLR.props +++ b/src/.nuget/Microsoft.NETCore.Runtime.CoreCLR/runtime.Windows_NT.Microsoft.NETCore.Runtime.CoreCLR.props @@ -11,32 +11,16 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + @@ -45,20 +29,7 @@ - - - runtimes\$(PackageTargetRuntime)\native - - - - runtimes/$(PackageTargetRuntime)/lib/netstandard1.0 - - - tools - - - tools/$(CrossTargetComponentFolder)_$(PackagePlatform) - + runtimes/$(PackageTargetRuntime)-aot/lib/netstandard1.0 @@ -66,29 +37,16 @@ runtimes/$(PackageTargetRuntime)-aot/native - - - ref/netstandard1.0 - - - - - - - - - - - - runtimes\$(PackageTargetRuntime)\native - true - - - tools\$(CrossTargetComponentFolder)_$(PackagePlatform) - true - + + + + runtimes\$(PackageTargetRuntime)\native\%(FileName)$(LongNameSuffix)%(Extension) + + + tools\$(CrossTargetComponentFolder)_$(PackagePlatform)\%(FileName)$(CrossTargetLongNameSuffix)%(Extension) + diff --git a/src/.nuget/Microsoft.NETCore.TestHost/runtime.Linux.Microsoft.NETCore.TestHost.props b/src/.nuget/Microsoft.NETCore.TestHost/runtime.Linux.Microsoft.NETCore.TestHost.props index c48d595254..ce004bdac4 100644 --- a/src/.nuget/Microsoft.NETCore.TestHost/runtime.Linux.Microsoft.NETCore.TestHost.props +++ b/src/.nuget/Microsoft.NETCore.TestHost/runtime.Linux.Microsoft.NETCore.TestHost.props @@ -1,21 +1,6 @@ - - - - runtimes/$(PackageTargetRuntime)/native - + - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.TestHost/runtime.OSX.Microsoft.NETCore.TestHost.props b/src/.nuget/Microsoft.NETCore.TestHost/runtime.OSX.Microsoft.NETCore.TestHost.props index b1cc2f8eef..ce004bdac4 100644 --- a/src/.nuget/Microsoft.NETCore.TestHost/runtime.OSX.Microsoft.NETCore.TestHost.props +++ b/src/.nuget/Microsoft.NETCore.TestHost/runtime.OSX.Microsoft.NETCore.TestHost.props @@ -1,21 +1,6 @@ - - - - runtimes/$(PackageTargetRuntime)/native - + - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - - - \ No newline at end of file + diff --git a/src/.nuget/Microsoft.NETCore.TestHost/runtime.Windows_NT.Microsoft.NETCore.TestHost.props b/src/.nuget/Microsoft.NETCore.TestHost/runtime.Windows_NT.Microsoft.NETCore.TestHost.props index bab9b9f8ba..96c2595cf9 100644 --- a/src/.nuget/Microsoft.NETCore.TestHost/runtime.Windows_NT.Microsoft.NETCore.TestHost.props +++ b/src/.nuget/Microsoft.NETCore.TestHost/runtime.Windows_NT.Microsoft.NETCore.TestHost.props @@ -4,18 +4,6 @@ $(MinOSForArch)-$(PackagePlatform) - - - runtimes/$(PackageTargetRuntime)/native - - - - - - - - runtimes/$(PackageTargetRuntime)/native - true - + diff --git a/src/.nuget/dir.props b/src/.nuget/dir.props index d304b818d6..c016b1165f 100644 --- a/src/.nuget/dir.props +++ b/src/.nuget/dir.props @@ -80,6 +80,23 @@ + + + + + + .dylib + .dwarf + + + + + .so + .dbg + + + + diff --git a/src/.nuget/dir.targets b/src/.nuget/dir.targets new file mode 100644 index 0000000000..6f7bae6b10 --- /dev/null +++ b/src/.nuget/dir.targets @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + runtimes/$(PackageTargetRuntime)/native + + + + runtimes/$(PackageTargetRuntime)/lib/netstandard1.0 + + + tools + + + + + + runtimes/$(CrossTargetComponentFolder)_$(PackagePlatform)/native + + + tools/$(CrossTargetComponentFolder)_$(PackagePlatform) + + + + + + + true + + + + + + + + + + + + + + + + + + + true + + + + + true + + + + + runtimes/$(PackageTargetRuntime)/native + true + + + + + + -- cgit v1.2.3