-
Notifications
You must be signed in to change notification settings - Fork 556
[CoreCLR] link app native runtime/library statically #9938
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
Changes from 72 commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
177facd
Package CLR host static archives
grendello 4fabeb3
Package NDK redistributables into our runtime packs
grendello dd31583
Build's broken atm, tbc tomorrow
grendello f8a5bab
Builds now
grendello c2e821f
More archives to package
grendello 62a4433
Builds now
grendello 6676c58
Nope. Not here.
grendello bff6399
Symbol preservation tweaks
grendello 9f38fdd
Better. Next step, dotnet/runtime libs (not in runtime pack, alas)
grendello 8030476
Some progress, still ways to go.
grendello 1494a1e
Enable a bunch of p/invokes
grendello 9a9cfcc
Fix archive path
grendello b3260d1
Make clr hack use configurable build config
grendello 86f7fdb
Package actual NDK libs instead of stubs
grendello 4616cd4
[WIP] reshaping linking
grendello ffac6be
Remove TODO and add a debug message
grendello 2d0f6fb
Strip debug symbols again
grendello ee7037e
Some must-have flags
grendello d9a1505
Fix after rebase
grendello 95c2d0b
Fix indentation
grendello 2a9ef9f
Use NativeLinker for libxamarin-app.so too
grendello 9979247
Use MonoAndroidHelper.RunProcess
grendello 7034f60
Fix typo
grendello c76faa3
Quote response file path
grendello a4e89f1
Remove library stubs
grendello 5b92ad7
Fix after rebase
grendello 688c880
Post-rebase fixlet
grendello 74e47f7
Fix a typo
grendello 3f6cdbc
Link `libcoreclrpal.a` whole, just like upstream does
grendello dd401b6
Update after the recent timing changes
grendello cc50c2f
Fix after rebase
grendello 274b49f
Post-rebase fixes
grendello 92a77c8
Add support for -Bsymbolic
grendello fa4f4df
Fix after rebase
grendello 42c48c6
Fixes after 'main' branch changes
grendello 813f82f
Fix after rebase
grendello 54eab3b
Rebase on `main` and fix NRT errors
grendello 04a29f8
Fix after rebase
grendello 1d8a40d
Fix after rebase
grendello e147bd0
Use the new `libcoreclr_static.a` library
grendello 13848ce
oops
grendello 1d35f27
Fix after rebase
grendello bbe5aa7
Remove duplicate definition
grendello b995d1a
System.IO.Ports is not part of the BCL
grendello 96c7d6e
Address feedback
grendello 7ab3331
Don't need NDK anymore
grendello 592da2e
More `std::string_view` use in p/invoke overrides machinery
grendello 89c4c49
Improve handling of p/invokes using "foreign" libraries
grendello d705608
Update src/native/clr/runtime-base/android-system.cc
grendello ac16b3d
Fix after rebase
grendello 87a6743
Comment out MonoVM icalls
grendello b426edd
CoreCLR preview 7 has all the libs, remove local runtime hack
grendello 3ef5693
Update src/Xamarin.Android.Build.Tasks/Tasks/GenerateNativeMarshalMet…
grendello eed75f0
Bring those back
grendello d74ed00
_LinkNativeRuntime is available only in CoreCLR
grendello c10688c
Doh
grendello 2d9d5b2
Update paths in .gitignore
grendello 782a4e1
Re-enable the code
grendello 9fec06f
Static runtime linking is off by default and always off for Debug builds
grendello 10f9d08
Fix indentation
grendello b7eebcb
Update src/Xamarin.Android.Build.Tasks/Utilities/NativeRuntimeCompone…
grendello e8a282a
Update src/native/clr/pinvoke-override/dynamic.cc
grendello ebbb774
Address feedback
grendello d539171
Address feedback
grendello 5c21313
Update src/Xamarin.Android.Build.Tasks/Tasks/PrepareAbiItems.cs
grendello cd2ca9a
Update src/Xamarin.Android.Build.Tasks/Tasks/GetNativeRuntimeComponen…
grendello 00be51b
Update src/Xamarin.Android.Build.Tasks/Tasks/GetNativeRuntimeComponen…
grendello f0aa0dd
Update src/Xamarin.Android.Build.Tasks/Tasks/LinkNativeRuntime.cs
grendello 2dac62e
Update src/Xamarin.Android.Build.Tasks/Utilities/PreservePinvokesNati…
grendello 6bd0cd7
Update src/Xamarin.Android.Build.Tasks/Utilities/PreservePinvokesNati…
grendello fbda5ff
Unindent
grendello 36196cb
Address feedback
grendello 4691fea
Merge branch 'main' into dev/grendel/clr-host-static-link
jonathanpeppers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.