Skip to content

Commit bc8256f

Browse files
committed
Update APK size reference baselines
FixLegacyResourceDesignerStep now runs post-ILLink with preserve=all, keeping all designer properties instead of only those referenced by libraries. This increases the designer assembly from ~19KB to ~135KB in the XForms MonoVM test app (1% of total APK size). The NativeAOT baseline also updated due to SDK changes from the main branch merge.
1 parent a92e39f commit bc8256f

6 files changed

Lines changed: 94 additions & 307 deletions

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Resources/Base/BuildReleaseArm64SimpleDotNet.CoreCLR.apkdesc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@
55
"Size": 3036
66
},
77
"classes.dex": {
8-
"Size": 397520
8+
"Size": 400044
99
},
1010
"lib/arm64-v8a/libassembly-store.so": {
11-
"Size": 3091928
11+
"Size": 3137360
1212
},
1313
"lib/arm64-v8a/libclrjit.so": {
14-
"Size": 3141224
14+
"Size": 3202072
1515
},
1616
"lib/arm64-v8a/libcoreclr.so": {
17-
"Size": 5736320
17+
"Size": 5766640
1818
},
1919
"lib/arm64-v8a/libmonodroid.so": {
20-
"Size": 1375784
20+
"Size": 1365104
2121
},
2222
"lib/arm64-v8a/libmscordaccore.so": {
23-
"Size": 2442416
23+
"Size": 2493552
2424
},
2525
"lib/arm64-v8a/libmscordbi.so": {
26-
"Size": 1894280
26+
"Size": 1902744
2727
},
2828
"lib/arm64-v8a/libSystem.Globalization.Native.so": {
2929
"Size": 71936
@@ -32,13 +32,13 @@
3232
"Size": 1281696
3333
},
3434
"lib/arm64-v8a/libSystem.Native.so": {
35-
"Size": 105664
35+
"Size": 107904
3636
},
3737
"lib/arm64-v8a/libSystem.Security.Cryptography.Native.Android.so": {
3838
"Size": 165536
3939
},
4040
"lib/arm64-v8a/libxamarin-app.so": {
41-
"Size": 20128
41+
"Size": 20312
4242
},
4343
"META-INF/BNDLTOOL.RSA": {
4444
"Size": 1221
@@ -74,5 +74,5 @@
7474
"Size": 1904
7575
}
7676
},
77-
"PackageSize": 9176858
77+
"PackageSize": 9275162
7878
}

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Resources/Base/BuildReleaseArm64SimpleDotNet.MonoVM.apkdesc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,34 @@
88
"Size": 22388
99
},
1010
"lib/arm64-v8a/lib__Microsoft.Android.Resource.Designer.dll.so": {
11-
"Size": 18288
11+
"Size": 18696
1212
},
1313
"lib/arm64-v8a/lib_Java.Interop.dll.so": {
14-
"Size": 88504
14+
"Size": 88936
1515
},
1616
"lib/arm64-v8a/lib_Mono.Android.dll.so": {
17-
"Size": 125280
17+
"Size": 126200
1818
},
1919
"lib/arm64-v8a/lib_Mono.Android.Runtime.dll.so": {
20-
"Size": 26520
20+
"Size": 26464
2121
},
2222
"lib/arm64-v8a/lib_System.Console.dll.so": {
23-
"Size": 24424
23+
"Size": 24432
2424
},
2525
"lib/arm64-v8a/lib_System.Linq.dll.so": {
26-
"Size": 25504
26+
"Size": 25512
2727
},
2828
"lib/arm64-v8a/lib_System.Private.CoreLib.dll.so": {
29-
"Size": 692016
29+
"Size": 692728
3030
},
3131
"lib/arm64-v8a/lib_System.Runtime.dll.so": {
32-
"Size": 20288
32+
"Size": 20296
3333
},
3434
"lib/arm64-v8a/lib_System.Runtime.InteropServices.dll.so": {
3535
"Size": 21632
3636
},
3737
"lib/arm64-v8a/lib_UnnamedProject.dll.so": {
38-
"Size": 20032
38+
"Size": 20128
3939
},
4040
"lib/arm64-v8a/libarc.bin.so": {
4141
"Size": 19112
@@ -44,10 +44,10 @@
4444
"Size": 36616
4545
},
4646
"lib/arm64-v8a/libmonodroid.so": {
47-
"Size": 1386512
47+
"Size": 1386072
4848
},
4949
"lib/arm64-v8a/libmonosgen-2.0.so": {
50-
"Size": 3124304
50+
"Size": 3124368
5151
},
5252
"lib/arm64-v8a/libSystem.Globalization.Native.so": {
5353
"Size": 71936
@@ -56,16 +56,16 @@
5656
"Size": 1281696
5757
},
5858
"lib/arm64-v8a/libSystem.Native.so": {
59-
"Size": 107024
59+
"Size": 107904
6060
},
6161
"lib/arm64-v8a/libSystem.Security.Cryptography.Native.Android.so": {
6262
"Size": 165536
6363
},
6464
"lib/arm64-v8a/libxamarin-app.so": {
65-
"Size": 19640
65+
"Size": 19792
6666
},
6767
"META-INF/BNDLTOOL.RSA": {
68-
"Size": 1223
68+
"Size": 1221
6969
},
7070
"META-INF/BNDLTOOL.SF": {
7171
"Size": 3266

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Resources/Base/BuildReleaseArm64SimpleDotNet.NativeAOT.apkdesc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"Size": 3124
66
},
77
"classes.dex": {
8-
"Size": 24224
8+
"Size": 25400
99
},
1010
"lib/arm64-v8a/libUnnamedProject.so": {
11-
"Size": 4968680
11+
"Size": 5065944
1212
},
1313
"META-INF/BNDLTOOL.RSA": {
14-
"Size": 1211
14+
"Size": 1221
1515
},
1616
"META-INF/BNDLTOOL.SF": {
1717
"Size": 1211
@@ -44,5 +44,5 @@
4444
"Size": 1904
4545
}
4646
},
47-
"PackageSize": 2094050
47+
"PackageSize": 2126818
4848
}

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Resources/Base/BuildReleaseArm64XFormsDotNet.CoreCLR.apkdesc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"Size": 6652
66
},
77
"classes.dex": {
8-
"Size": 9447644
8+
"Size": 9444112
99
},
1010
"classes2.dex": {
1111
"Size": 156448
@@ -32,22 +32,22 @@
3232
"Size": 2396
3333
},
3434
"lib/arm64-v8a/libassembly-store.so": {
35-
"Size": 14041376
35+
"Size": 14482080
3636
},
3737
"lib/arm64-v8a/libclrjit.so": {
38-
"Size": 3141224
38+
"Size": 3202072
3939
},
4040
"lib/arm64-v8a/libcoreclr.so": {
41-
"Size": 5736320
41+
"Size": 5766640
4242
},
4343
"lib/arm64-v8a/libmonodroid.so": {
44-
"Size": 1375784
44+
"Size": 1365104
4545
},
4646
"lib/arm64-v8a/libmscordaccore.so": {
47-
"Size": 2442416
47+
"Size": 2493552
4848
},
4949
"lib/arm64-v8a/libmscordbi.so": {
50-
"Size": 1894280
50+
"Size": 1902744
5151
},
5252
"lib/arm64-v8a/libSystem.Globalization.Native.so": {
5353
"Size": 71936
@@ -56,13 +56,13 @@
5656
"Size": 1281696
5757
},
5858
"lib/arm64-v8a/libSystem.Native.so": {
59-
"Size": 105664
59+
"Size": 107904
6060
},
6161
"lib/arm64-v8a/libSystem.Security.Cryptography.Native.Android.so": {
6262
"Size": 165536
6363
},
6464
"lib/arm64-v8a/libxamarin-app.so": {
65-
"Size": 147200
65+
"Size": 147160
6666
},
6767
"META-INF/androidx.activity_activity.version": {
6868
"Size": 6
@@ -215,7 +215,7 @@
215215
"Size": 6
216216
},
217217
"META-INF/BNDLTOOL.RSA": {
218-
"Size": 1223
218+
"Size": 1221
219219
},
220220
"META-INF/BNDLTOOL.SF": {
221221
"Size": 90346
@@ -2285,5 +2285,5 @@
22852285
"Size": 812848
22862286
}
22872287
},
2288-
"PackageSize": 22766523
2288+
"PackageSize": 23106491
22892289
}

0 commit comments

Comments
 (0)