Closed jonathanpeppers closed 1 week ago
Context: https://github.com/xamarin/monodroid/commit/93ab95e18077d56d9d55ce7b4069a534e2dea35e Context: https://github.com/xamarin/monodroid/commit/2c64cd5f533616ff4751fb1df6bbfc7e170477ae
"Enhanced Fast Deployment" was removed from our private sources, so we can now remove the following from our MSBuild logic:
$(_InstantRunEnabled) checks from MSBuild targets, it is false
$(_InstantRunEnabled)
false
InstantRunEnabled parameters in any MSBuild tasks or related classes
InstantRunEnabled
Usage of the @(_InstantRunJavaReference) item group
@(_InstantRunJavaReference)
For one parameter of <GenerateJavaStubs/>, I created a private property $(_AndroidGenerateNativeAssembly) that defaults to true.
<GenerateJavaStubs/>
$(_AndroidGenerateNativeAssembly)
true
In a future PR, we could consider making runtime changes to remove instant_run_enabled as well.
instant_run_enabled
Once this PR is merged I'll open another one to update the native runtime accordingly.
Native runtime PR: https://github.com/dotnet/android/pull/9297
Context: https://github.com/xamarin/monodroid/commit/93ab95e18077d56d9d55ce7b4069a534e2dea35e Context: https://github.com/xamarin/monodroid/commit/2c64cd5f533616ff4751fb1df6bbfc7e170477ae
"Enhanced Fast Deployment" was removed from our private sources, so we can now remove the following from our MSBuild logic:
$(_InstantRunEnabled)
checks from MSBuild targets, it isfalse
InstantRunEnabled
parameters in any MSBuild tasks or related classesUsage of the
@(_InstantRunJavaReference)
item groupFor one parameter of
<GenerateJavaStubs/>
, I created a private property$(_AndroidGenerateNativeAssembly)
that defaults totrue
.In a future PR, we could consider making runtime changes to remove
instant_run_enabled
as well.