Skip to content

Commit bb3a572

Browse files
[maui, android] explicitly set R2R properties (#4879)
We are shortly going to change the defaults for CoreCLR, where `Release` mode will use by default: -p:PublishReadyToRun=true -p:PublishReadyToRunComposite=true ...when `$(PublishReadyToRun)` or `$(PublishReadyToRunComposite)` are not set. Let's explicitly set the MSBuild properties, so the existing graphs will not change in behavior.
1 parent 0396fc8 commit bb3a572

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eng/performance/maui_scenarios_android.proj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@
1717

1818
<!-- Mono AOT -->
1919
<_MSBuildArgs Condition="'$(CodegenType)' == 'AOT'">$(_MSBuildArgs);/p:RunAOTCompilation=true;/p:AndroidEnableProfiledAot=false</_MSBuildArgs>
20+
<!-- CoreCLR JIT -->
21+
<_MSBuildArgs Condition="'$(CodegenType)' == 'JIT'">$(_MSBuildArgs);/p:PublishReadyToRun=false;/p:PublishReadyToRunComposite=false</_MSBuildArgs>
2022
<!-- CoreCLR R2R -->
21-
<_MSBuildArgs Condition="'$(CodegenType)' == 'R2R'">$(_MSBuildArgs);/p:PublishReadyToRun=true</_MSBuildArgs>
23+
<_MSBuildArgs Condition="'$(CodegenType)' == 'R2R'">$(_MSBuildArgs);/p:PublishReadyToRun=true;/p:PublishReadyToRunComposite=false</_MSBuildArgs>
2224
<!-- CoreCLR R2R composite -->
2325
<_MSBuildArgs Condition="'$(CodegenType)' == 'R2RComposite'">$(_MSBuildArgs);/p:PublishReadyToRun=true;/p:PublishReadyToRunComposite=true</_MSBuildArgs>
2426
<!-- CoreCLR NativeAOT -->

0 commit comments

Comments
 (0)