Skip to content

Commit 1eec909

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). Other baselines updated for SDK changes from the main branch merge.
1 parent 4691223 commit 1eec909

6 files changed

Lines changed: 86 additions & 86 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": 3115312
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": 20520
4242
},
4343
"META-INF/BNDLTOOL.RSA": {
4444
"Size": 1221
@@ -74,5 +74,5 @@
7474
"Size": 1904
7575
}
7676
},
77-
"PackageSize": 9176858
77+
"PackageSize": 9258778
7878
}

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
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": 88040
14+
"Size": 88048
1515
},
1616
"lib/arm64-v8a/lib_Mono.Android.dll.so": {
17-
"Size": 118024
17+
"Size": 117928
1818
},
1919
"lib/arm64-v8a/lib_Mono.Android.Runtime.dll.so": {
20-
"Size": 26544
20+
"Size": 26464
2121
},
2222
"lib/arm64-v8a/lib_System.Console.dll.so": {
2323
"Size": 24432
@@ -35,7 +35,7 @@
3535
"Size": 21632
3636
},
3737
"lib/arm64-v8a/lib_UnnamedProject.dll.so": {
38-
"Size": 20032
38+
"Size": 20144
3939
},
4040
"lib/arm64-v8a/libarc.bin.so": {
4141
"Size": 19176
@@ -44,7 +44,7 @@
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": {
5050
"Size": 3124368
@@ -62,7 +62,7 @@
6262
"Size": 165536
6363
},
6464
"lib/arm64-v8a/libxamarin-app.so": {
65-
"Size": 19840
65+
"Size": 19792
6666
},
6767
"META-INF/BNDLTOOL.RSA": {
6868
"Size": 1221

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": 5056848
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": 2122722
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": 14459432
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": 147368
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": 23086011
22892289
}

0 commit comments

Comments
 (0)