From e76d656b7ee8c9fe4649e738bbebc699a0a46323 Mon Sep 17 00:00:00 2001 From: Jackson Schuster <36744439+jtschuster@users.noreply.github.com> Date: Mon, 30 Jan 2023 16:33:59 -0800 Subject: [PATCH] Use SetupProperties to set properties related to NativeAOT and remove the top-level defaults (#79233) --- eng/testing/tests.singlefile.targets | 1 + .../BuildFrameworkNativeObjects.proj | 2 +- .../Microsoft.NETCore.Native.targets | 24 ++----------------- src/tests/build.proj | 2 ++ 4 files changed, 6 insertions(+), 23 deletions(-) mode change 100755 => 100644 src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets diff --git a/eng/testing/tests.singlefile.targets b/eng/testing/tests.singlefile.targets index 582932087ac..e66a84d0fa2 100644 --- a/eng/testing/tests.singlefile.targets +++ b/eng/testing/tests.singlefile.targets @@ -25,6 +25,7 @@ $(CoreCLRILCompilerDir)netstandard/ILCompiler.Build.Tasks.dll $(CoreCLRAotSdkDir) $(NetCoreAppCurrentTestHostSharedFrameworkPath) + $(NetCoreAppCurrentTestHostSharedFrameworkPath) $(NoWarn);IL1005;IL3002 partial true diff --git a/src/coreclr/nativeaot/BuildIntegration/BuildFrameworkNativeObjects.proj b/src/coreclr/nativeaot/BuildIntegration/BuildFrameworkNativeObjects.proj index d3ef3ec15cd..ea0602ce09e 100644 --- a/src/coreclr/nativeaot/BuildIntegration/BuildFrameworkNativeObjects.proj +++ b/src/coreclr/nativeaot/BuildIntegration/BuildFrameworkNativeObjects.proj @@ -14,6 +14,7 @@ @@ -28,7 +29,6 @@ - diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets old mode 100755 new mode 100644 index 71dba105ff9..5caefcd10b2 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets @@ -21,12 +21,6 @@ The .NET Foundation licenses this file to you under the MIT license. $(OutputPath)native\ true $(MSBuildThisFileDirectory)..\tools\netstandard\ILCompiler.Build.Tasks.dll - $(IlcPath)\tools\ - $(IlcPath)\sdk\ - $(IlcPath)\framework\ - $(IlcPath)\framework\ - $(IlcFrameworkPath) - $(IlcPath)\mibc\ windows osx freebsd @@ -113,18 +107,6 @@ The .NET Foundation licenses this file to you under the MIT license. - - - - - - - - - - - - $(NativeIntermediateOutputPath)\%(Filename).ilc.rsp @@ -152,7 +134,6 @@ The .NET Foundation licenses this file to you under the MIT license. $(RuntimePackagePath)\mibc\ - @@ -372,10 +353,9 @@ The .NET Foundation licenses this file to you under the MIT license. + Inputs="@(LibInputs)" + Outputs="$(SharedLibrary)" > diff --git a/src/tests/build.proj b/src/tests/build.proj index 4a6892056d4..094b00ca079 100644 --- a/src/tests/build.proj +++ b/src/tests/build.proj @@ -581,6 +581,8 @@ + + -- 2.34.1