Skip to content

Commit

Permalink
Revert "Build tests as self-contained for native AOT (#95718)"
Browse files Browse the repository at this point in the history
This reverts commit ee1abba.
  • Loading branch information
MichalStrehovsky authored Dec 12, 2023
1 parent d4bfbf1 commit 953a477
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions eng/testing/tests.singlefile.targets
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
<TrimMode>partial</TrimMode>
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
<TrimmerSingleWarn>false</TrimmerSingleWarn>

<!-- Forced by ILLink targets -->
<SelfContained>true</SelfContained>
</PropertyGroup>

<!-- Needed for the amd64 -> amd64 musl cross-build to pass the target flag. -->
Expand Down
3 changes: 0 additions & 3 deletions src/mono/msbuild/apple/data/ProxyProjectForAOTOnHelix.proj
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
<_IsApplePlatform>true</_IsApplePlatform>
<TargetsAppleMobile>true</TargetsAppleMobile>
<_targetOS>$(TargetOS)</_targetOS>

<!-- Forced by ILLink targets -->
<SelfContained>true</SelfContained>
</PropertyGroup>

<ItemGroup Condition="'$(UseNativeAOTRuntime)' == 'true'">
Expand Down
5 changes: 0 additions & 5 deletions src/tests/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -567,11 +567,6 @@
<BuildNativeAotFrameworkObjects Condition="'$(IlcMultiModule)' == 'true'">true</BuildNativeAotFrameworkObjects>
<DisableFrameworkLibGeneration Condition="'$(BuildNativeAotFrameworkObjects)' == 'true'">true</DisableFrameworkLibGeneration>
<FrameworkLibPath Condition="'$(BuildNativeAotFrameworkObjects)' == 'true'">$(IlcSdkPath)</FrameworkLibPath>

<!-- Forced by ILLink targets -->
<SelfContained>true</SelfContained>
<HasRuntimeOutput>false</HasRuntimeOutput>
<_UsingDefaultForHasRuntimeOutput>false</_UsingDefaultForHasRuntimeOutput>
</PropertyGroup>

<ItemGroup Condition="'$(TestBuildMode)' == 'nativeaot'">
Expand Down

0 comments on commit 953a477

Please sign in to comment.