Skip to content

Conversation

@jonathanpeppers
Copy link
Member

Fixes part of: #56989

The Android workload needs to be able to pass in multiple AOT profiles
to the <MonoAOTCompiler/> MSBuild task. We plan on shipping a
default profile in the Android workload, as well as the MAUI workload.
.NET MAUI would have two profiles when using profiled AOT.

Adding profile-only, and then multiple profile arguments is
currently working in legacy Xamarin.Android:

https://github.com/xamarin/xamarin-android/blob/77895e2a03ed91fdf3729cde54501f91e7d1a36f/src/Xamarin.Android.Build.Tasks/Tasks/GetAotArguments.cs#L256-L260

Either a single property or item group can be passed in for
AotProfilePath now. I avoided changing the name, as it looks like it
might be used by wasm.

Fixes part of: dotnet#56989

The Android workload needs to be able to pass in multiple AOT profiles
to the `<MonoAOTCompiler/>` MSBuild task. We plan on shipping a
default profile in the Android workload, as well as the MAUI workload.
.NET MAUI would have two profiles when using profiled AOT.

Adding `profile-only`, and then multiple `profile` arguments is
currently working in legacy Xamarin.Android:

https://github.com/xamarin/xamarin-android/blob/77895e2a03ed91fdf3729cde54501f91e7d1a36f/src/Xamarin.Android.Build.Tasks/Tasks/GetAotArguments.cs#L256-L260

Either a single property or item group can be passed in for
`AotProfilePath` now. I avoided changing the name, as it looks like it
might be used by wasm.
@ghost
Copy link

ghost commented Aug 10, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@radical
Copy link
Member

radical commented Aug 10, 2021

cc @vargaz

@akoeplinger akoeplinger merged commit d359e49 into dotnet:main Aug 11, 2021
@jonathanpeppers jonathanpeppers deleted the monoaotcompiler-aotprofilepath branch August 11, 2021 16:24
@ghost ghost locked as resolved and limited conversation to collaborators Sep 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants