Skip to content

[XABT] Remove support for $(_AndroidGenerateNativeAssembly) = false (typemaps). #10001

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

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

jpobst
Copy link
Contributor

@jpobst jpobst commented Apr 2, 2025

Context: #9292

In #9292, we removed support for the "instant run" feature. This feature required the use of typemaps that existed outside of the "native" assemblies ($(_AndroidGenerateNativeAssembly) = false). This support is no longer needed, and in fact causes a build error if it is used:

Xamarin.Android.Common.targets(2132,3): error XA3006: Could not compile native assembly file: typemaps.x86_64.ll

As such, clean up our codebase to remove support for this.

Additionally, unused fields in the Module[Debug|Release]Data and TypeMap[Debug|Release]Entry data classes were removed to help make it clearer what data is required to generate typemaps.

@jpobst jpobst force-pushed the dev/jpobst/remove-instant-run-typemaps branch from 31500f9 to 7a3831b Compare April 2, 2025 21:49
@jpobst jpobst marked this pull request as ready for review April 2, 2025 23:31
@jpobst jpobst requested a review from jonpryor April 2, 2025 23:31
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

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

I can't find anything that sets $(_AndroidGenerateNativeAssembly) in other repos. 👍

@dellis1972 dellis1972 merged commit 76507e8 into main Apr 3, 2025
57 of 59 checks passed
@dellis1972 dellis1972 deleted the dev/jpobst/remove-instant-run-typemaps branch April 3, 2025 13:56
@github-actions github-actions bot locked and limited conversation to collaborators May 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants