Skip to content

Commit 7744ab3

Browse files
fix: suppress IL2007 annotation and enable AVIF encoding with libsvtav1enc2
Agent-Logs-Url: https://github.com/winnerspiros/osu/sessions/93be82ca-7d4f-4674-b76a-0758027c1a5f Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
1 parent 194dff4 commit 7744ab3

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ jobs:
224224
- name: Install ffmpeg
225225
run: |
226226
sudo apt-get update
227-
sudo apt-get install -y ffmpeg
227+
sudo apt-get install -y ffmpeg libsvtav1enc2
228228
229229
- name: Clone and optimize all osu-resources from GitHub
230230
run: |

osu.Android.props

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@
2121
unmanaged function pointers, reflection-based handle discovery).
2222
The default runtime-generated trampolines are slower but proven reliable. -->
2323
<AndroidEnableMarshalMethods>false</AndroidEnableMarshalMethods>
24-
<NoWarn>$(NoWarn);NU1608;XA4301</NoWarn>
24+
<!-- IL2007: "Could not resolve assembly" emitted by ILLink when it processes
25+
Linker.xml descriptor entries for assemblies that are not yet in the search
26+
path at descriptor-parse time (ppy.osu.Framework and ppy.osu.Framework.Android).
27+
SuppressTrimAnalysisWarnings=true covers the broader IL2xxx range during the
28+
trim pass; IL2007 is added here explicitly so it is also suppressed during the
29+
earlier descriptor-validation phase and does not appear as a build annotation. -->
30+
<NoWarn>$(NoWarn);NU1608;XA4301;IL2007</NoWarn>
2531
</PropertyGroup>
2632

2733
<!-- Release-only optimisations.

0 commit comments

Comments
 (0)