Skip to content

Commit

Permalink
Merge branch 'android-aot' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Aug 11, 2023
2 parents ae5367a + 069425c commit 38976ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions osu.Android.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
<ItemGroup>
<PackageReference Include="ppy.osu.Framework.Android" Version="2023.811.0" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<!-- On release configurations, we use AOT compiler for optimal performance, along with Mono Interpreter as a fallback for libraries such as AutoMapper. -->
<EnableLLVM>true</EnableLLVM>
<AotAssemblies>true</AotAssemblies>
</PropertyGroup>
<PropertyGroup>
<!-- Fody does not handle Android build well, and warns when unchanged.
Since Realm objects are not declared directly in Android projects, simply disable Fody. -->
Expand Down
2 changes: 0 additions & 2 deletions osu.Android/osu.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<RootNamespace>osu.Android</RootNamespace>
<AssemblyName>osu.Android</AssemblyName>
<UseMauiEssentials>true</UseMauiEssentials>
<!-- This currently causes random lockups during gameplay. https://github.com/mono/mono/issues/18973 -->
<EnableLLVM>false</EnableLLVM>
<Version>0.0.0</Version>
<ApplicationVersion Condition=" '$(ApplicationVersion)' == '' ">1</ApplicationVersion>
<ApplicationDisplayVersion Condition=" '$(ApplicationDisplayVersion)' == '' ">$(Version)</ApplicationDisplayVersion>
Expand Down

0 comments on commit 38976ce

Please sign in to comment.