Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable marshal methods generation by default #9336

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"Size": 3036
},
"classes.dex": {
"Size": 22488
"Size": 389672
},
"lib/arm64-v8a/lib__Microsoft.Android.Resource.Designer.dll.so": {
"Size": 18208
},
"lib/arm64-v8a/lib_Java.Interop.dll.so": {
"Size": 86368
"Size": 86256
},
"lib/arm64-v8a/lib_Mono.Android.dll.so": {
"Size": 115752
"Size": 115344
},
"lib/arm64-v8a/lib_Mono.Android.Runtime.dll.so": {
"Size": 22408
"Size": 22400
},
"lib/arm64-v8a/lib_System.Console.dll.so": {
"Size": 24384
Expand All @@ -26,7 +26,7 @@
"Size": 26480
},
"lib/arm64-v8a/lib_System.Private.CoreLib.dll.so": {
"Size": 633792
"Size": 633920
},
"lib/arm64-v8a/lib_System.Runtime.dll.so": {
"Size": 20048
Expand All @@ -44,7 +44,7 @@
"Size": 87432
},
"lib/arm64-v8a/libmonodroid.so": {
"Size": 485800
"Size": 485400
},
"lib/arm64-v8a/libmonosgen-2.0.so": {
"Size": 3196336
Expand All @@ -62,10 +62,10 @@
"Size": 160232
},
"lib/arm64-v8a/libxamarin-app.so": {
"Size": 17912
"Size": 12648
},
"META-INF/BNDLTOOL.RSA": {
"Size": 1221
"Size": 1223
},
"META-INF/BNDLTOOL.SF": {
"Size": 3266
Expand Down Expand Up @@ -98,5 +98,5 @@
"Size": 1904
}
},
"PackageSize": 2791957
"PackageSize": 2865685
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"Size": 6652
},
"classes.dex": {
"Size": 9172800
"Size": 9448924
},
"classes2.dex": {
"Size": 154180
},
"kotlin/annotation/annotation.kotlin_builtins": {
"Size": 928
Expand All @@ -32,25 +35,25 @@
"Size": 19456
},
"lib/arm64-v8a/lib_FormsViewGroup.dll.so": {
"Size": 25424
"Size": 25184
},
"lib/arm64-v8a/lib_Java.Interop.dll.so": {
"Size": 94768
"Size": 94640
},
"lib/arm64-v8a/lib_Mono.Android.dll.so": {
"Size": 523568
"Size": 521824
},
"lib/arm64-v8a/lib_Mono.Android.Runtime.dll.so": {
"Size": 22408
"Size": 22400
},
"lib/arm64-v8a/lib_mscorlib.dll.so": {
"Size": 21432
"Size": 21440
},
"lib/arm64-v8a/lib_netstandard.dll.so": {
"Size": 23080
},
"lib/arm64-v8a/lib_System.Collections.Concurrent.dll.so": {
"Size": 29808
"Size": 29800
},
"lib/arm64-v8a/lib_System.Collections.dll.so": {
"Size": 36288
Expand All @@ -65,13 +68,13 @@
"Size": 19584
},
"lib/arm64-v8a/lib_System.ComponentModel.Primitives.dll.so": {
"Size": 21304
"Size": 21296
},
"lib/arm64-v8a/lib_System.ComponentModel.TypeConverter.dll.so": {
"Size": 42456
"Size": 42448
},
"lib/arm64-v8a/lib_System.Console.dll.so": {
"Size": 24424
"Size": 24416
},
"lib/arm64-v8a/lib_System.Core.dll.so": {
"Size": 19456
Expand All @@ -80,7 +83,7 @@
"Size": 28440
},
"lib/arm64-v8a/lib_System.Diagnostics.TraceSource.dll.so": {
"Size": 24696
"Size": 24688
},
"lib/arm64-v8a/lib_System.dll.so": {
"Size": 19856
Expand All @@ -95,7 +98,7 @@
"Size": 49936
},
"lib/arm64-v8a/lib_System.IO.Compression.Brotli.dll.so": {
"Size": 29488
"Size": 29480
},
"lib/arm64-v8a/lib_System.IO.Compression.dll.so": {
"Size": 33784
Expand All @@ -107,13 +110,13 @@
"Size": 38736
},
"lib/arm64-v8a/lib_System.Linq.Expressions.dll.so": {
"Size": 185816
"Size": 185808
},
"lib/arm64-v8a/lib_System.Net.Http.dll.so": {
"Size": 89488
"Size": 89496
},
"lib/arm64-v8a/lib_System.Net.Primitives.dll.so": {
"Size": 41112
"Size": 41120
},
"lib/arm64-v8a/lib_System.Net.Requests.dll.so": {
"Size": 21552
Expand All @@ -122,19 +125,19 @@
"Size": 27072
},
"lib/arm64-v8a/lib_System.Private.CoreLib.dll.so": {
"Size": 956368
"Size": 956408
},
"lib/arm64-v8a/lib_System.Private.DataContractSerialization.dll.so": {
"Size": 216688
},
"lib/arm64-v8a/lib_System.Private.Uri.dll.so": {
"Size": 62184
"Size": 62192
},
"lib/arm64-v8a/lib_System.Private.Xml.dll.so": {
"Size": 237096
"Size": 237104
},
"lib/arm64-v8a/lib_System.Private.Xml.Linq.dll.so": {
"Size": 35592
"Size": 35584
},
"lib/arm64-v8a/lib_System.Runtime.dll.so": {
"Size": 20200
Expand All @@ -143,22 +146,22 @@
"Size": 21592
},
"lib/arm64-v8a/lib_System.Runtime.Numerics.dll.so": {
"Size": 54400
"Size": 54408
},
"lib/arm64-v8a/lib_System.Runtime.Serialization.dll.so": {
"Size": 19360
"Size": 19352
},
"lib/arm64-v8a/lib_System.Runtime.Serialization.Formatters.dll.so": {
"Size": 20336
},
"lib/arm64-v8a/lib_System.Runtime.Serialization.Primitives.dll.so": {
"Size": 21456
"Size": 21448
},
"lib/arm64-v8a/lib_System.Security.Cryptography.dll.so": {
"Size": 80496
"Size": 80504
},
"lib/arm64-v8a/lib_System.Text.RegularExpressions.dll.so": {
"Size": 183600
"Size": 183592
},
"lib/arm64-v8a/lib_System.Xml.dll.so": {
"Size": 19256
Expand All @@ -170,31 +173,31 @@
"Size": 22096
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.Activity.dll.so": {
"Size": 34960
"Size": 34760
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.AppCompat.AppCompatResources.dll.so": {
"Size": 24520
"Size": 24296
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.AppCompat.dll.so": {
"Size": 163240
"Size": 163072
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.CardView.dll.so": {
"Size": 24560
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.CoordinatorLayout.dll.so": {
"Size": 35912
"Size": 35680
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.Core.dll.so": {
"Size": 151408
"Size": 151216
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.CursorAdapter.dll.so": {
"Size": 27168
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.DrawerLayout.dll.so": {
"Size": 33944
"Size": 33760
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.Fragment.dll.so": {
"Size": 72528
"Size": 72224
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.Legacy.Support.Core.UI.dll.so": {
"Size": 23896
Expand All @@ -212,16 +215,16 @@
"Size": 31592
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.RecyclerView.dll.so": {
"Size": 112256
"Size": 111896
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.SavedState.dll.so": {
"Size": 23144
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.SwipeRefreshLayout.dll.so": {
"Size": 31952
"Size": 31672
},
"lib/arm64-v8a/lib_Xamarin.AndroidX.ViewPager.dll.so": {
"Size": 38056
"Size": 37752
},
"lib/arm64-v8a/lib_Xamarin.Forms.Core.dll.so": {
"Size": 581000
Expand All @@ -236,7 +239,7 @@
"Size": 80632
},
"lib/arm64-v8a/lib_Xamarin.Google.Android.Material.dll.so": {
"Size": 84768
"Size": 84400
},
"lib/arm64-v8a/libarc.bin.so": {
"Size": 18776
Expand All @@ -245,7 +248,7 @@
"Size": 87432
},
"lib/arm64-v8a/libmonodroid.so": {
"Size": 485800
"Size": 485400
},
"lib/arm64-v8a/libmonosgen-2.0.so": {
"Size": 3196336
Expand All @@ -263,7 +266,7 @@
"Size": 160232
},
"lib/arm64-v8a/libxamarin-app.so": {
"Size": 349352
"Size": 119928
},
"META-INF/androidx.activity_activity.version": {
"Size": 6
Expand Down Expand Up @@ -419,7 +422,7 @@
"Size": 1221
},
"META-INF/BNDLTOOL.SF": {
"Size": 98577
"Size": 98661
},
"META-INF/com.android.tools/proguard/coroutines.pro": {
"Size": 1345
Expand All @@ -446,7 +449,7 @@
"Size": 5
},
"META-INF/MANIFEST.MF": {
"Size": 98450
"Size": 98534
},
"META-INF/maven/com.google.guava/listenablefuture/pom.properties": {
"Size": 96
Expand Down Expand Up @@ -2486,5 +2489,5 @@
"Size": 812848
}
},
"PackageSize": 10628363
"PackageSize": 10673477
}
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ Copyright (C) 2011-2012 Xamarin. All rights reserved.
<AndroidUseAssemblyStore Condition=" '$(AndroidUseAssemblyStore)' == '' ">true</AndroidUseAssemblyStore>
<AndroidAotEnableLazyLoad Condition=" '$(AndroidAotEnableLazyLoad)' == '' And '$(AotAssemblies)' == 'true' And '$(AndroidIncludeDebugSymbols)' != 'true' ">True</AndroidAotEnableLazyLoad>
<AndroidEnableMarshalMethods Condition=" '$(AndroidEnableMarshalMethods)' == '' and ('$(UsingMicrosoftNETSdkRazor)' == 'true') ">False</AndroidEnableMarshalMethods>
<AndroidEnableMarshalMethods Condition=" '$(AndroidEnableMarshalMethods)' == '' ">True</AndroidEnableMarshalMethods>
<AndroidEnableMarshalMethods Condition=" '$(AndroidEnableMarshalMethods)' == '' ">False</AndroidEnableMarshalMethods>
<_AndroidUseMarshalMethods Condition=" '$(AndroidIncludeDebugSymbols)' == 'True' ">False</_AndroidUseMarshalMethods>
<_AndroidUseMarshalMethods Condition=" '$(AndroidIncludeDebugSymbols)' != 'True' ">$(AndroidEnableMarshalMethods)</_AndroidUseMarshalMethods>
</PropertyGroup>
Expand Down
Loading