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

[Xamarin.Android.Build.Tasks] remove $XAMARIN_BUILD_ID #9223

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

jonathanpeppers
Copy link
Member

Fixes: #9212

$XAMARIN_BUILD_ID was a value that was only used by the mono-symbolicate feature from Xamarin. In .NET 6+, mono-symbolicate is not supported (and unfortunately, no replacement yet):

Likely, a new solution would use some new tool like dotnet-symbol, which is able to locate symbol information based on existing information inside managed .dll's or even native libraries.

Remove $XAMARIN_BUILD_ID, in order to delete unused code, and improve incremental build times mentioned in #9212.

Fixes: dotnet#9212

`$XAMARIN_BUILD_ID` was a value that was only used by the
`mono-symbolicate` feature from Xamarin. In .NET 6+,
`mono-symbolicate` is not supported (and unfortunately, no
replacement yet):

* dotnet/runtime#106395

Likely, a new solution would use some new tool like `dotnet-symbol`,
which is able to locate symbol information based on existing
information inside managed `.dll`'s or even native libraries.

Remove `$XAMARIN_BUILD_ID`, in order to delete unused code, and
improve incremental build times mentioned in dotnet#9212.
`$XAMARIN_BUILD_ID` doesn't trigger `_CompileNativeAssemblySources` any longer
@jonathanpeppers jonathanpeppers marked this pull request as ready for review August 20, 2024 02:15
@dellis1972 dellis1972 merged commit eb5455a into dotnet:main Aug 20, 2024
57 checks passed
@jonathanpeppers jonathanpeppers deleted the XAMARIN_BUILD_ID branch August 20, 2024 13:21
grendello added a commit that referenced this pull request Aug 27, 2024
* main: (47 commits)
  Bump to dotnet/sdk@5642787dac 9.0.100-rc.2.24426.2 (#9247)
  LEGO: Merge pull request 9246
  Bump to 34.0.137 of the .NET 8 Android workload (#9243)
  Bump external/Java.Interop from `d30d554` to `51b784a` (#9241)
  Bump dotnet/android-tools@6575743 (#9235)
  Bump to mono/debugger-libs@d5664344 (#9238)
  [ci] Improve push_signed_nugets job condition (#9240)
  Bump to dotnet/android-tools@657574378a6 and xamarin/monodroid@8bd4bae7 (#9216)
  Bump to dotnet/java-interop@d30d554 (#9234)
  Localized file check-in by OneLocBuild Task (#9236)
  Bump to dotnet/sdk@e2b7b9d2b4 9.0.100-rc.2.24420.1 (#9228)
  $(AndroidPackVersionSuffix)=rc.2; net9 is 35.0.0-rc.2 (#9233)
  [Xamarin.Android.Build.Tasks] Scan for JCWs for each ABI in parallel (#9215)
  [Xamarin.Android.Build.Tasks] %(JavaArtifact) is a list (#9112)
  [native/monodroid] Fix error demangling satellite assembly names (#9166)
  [build] Update package metadata (#9230)
  [Xamarin.Android.Build.Tasks] Remove ILRepack (#9226)
  [Xamarin.Android.Build.Tasks] Fix an issue with incremental builds (#9183)
  [Xamarin.Android.Build.Tasks] remove `$XAMARIN_BUILD_ID` (#9223)
  [Mono.Android] Use .NET version of mdoc (#9225)
  ...
@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 2024
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.

_GeneratePackageManagerJava runs on every incremental build
2 participants