Skip to content

Commit

Permalink
Add UnixFilePermissions.xml for Mono AOT compilers (dotnet#54501)
Browse files Browse the repository at this point in the history
* Add UnixFilePermissions.xml for Mono AOT compilers

Ref: dotnet#53545
Ref: dotnet/sdk#16894
Ref: xamarin/xamarin-macios#11869
Ref: dotnet/android#6010

* Only set permissions on !windows
  • Loading branch information
directhex authored Jun 21, 2021
1 parent 19b5bd1 commit d08c08d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<FileList>
<File Path="tools/mono-aot-cross" Permission="755" />
<File Path="tools/opt" Permission="755" />
<File Path="tools/llc" Permission="755" />
</FileList>
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<ItemGroup>
<NativeRuntimeAsset Include="$(MonoAotCrossDir)$(TargetCrossRid)\**" TargetPath="tools/" />
<NativeRuntimeAsset Include="$(MonoAotCrossDir)$(TargetCrossRid).Sdk.props" TargetPath="Sdk/Sdk.props" />
<NativeRuntimeAsset Condition="!$([MSBuild]::IsOsPlatform('Windows'))" Include="Microsoft.NETCore.App.MonoCrossAOT.UnixFilePermissions.xml" TargetPath="data/UnixFilePermissions.xml" />
</ItemGroup>

<Target Name="WriteAotSdkProps" BeforeTargets="ValidateProperties">
Expand Down

0 comments on commit d08c08d

Please sign in to comment.