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

Allow publishing AndroidSampleApp with R2R using in-build crossgen2 #112547

Merged
merged 6 commits into from
Feb 18, 2025

Conversation

elinor-fung
Copy link
Member

Use the in-build crossgen2 to publish AndroidSampleApp if PublishReadyToRun is set to true. I left it off in the project, but it can now be enabled. Also remove corerun from the Android local runtime pack.

HelloAndroid.apk size:
No R2R: 7.8 MB
R2R: 9.4 MB
R2R composite: 9.5 MB

@Copilot Copilot bot review requested due to automatic review settings February 14, 2025 01:49

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (3)
  • src/libraries/externals.csproj: Language not supported
  • src/mono/sample/Android/AndroidSampleApp.csproj: Language not supported
  • src/mono/sample/Android/AndroidSampleApp.targets: Language not supported
Copy link
Contributor

Tagging subscribers to this area: @akoeplinger, @matouskozak
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@ivanpovazan ivanpovazan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

PS: The CoreCLR on Android failure is not related to this PR, I opened a tracking issue for it: #112633

@elinor-fung elinor-fung merged commit 13e15b1 into dotnet:main Feb 18, 2025
97 of 103 checks passed
@elinor-fung elinor-fung deleted the androidSample-publish-r2r branch February 18, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants