-
Notifications
You must be signed in to change notification settings - Fork 554
[dotnet] Add support for consuming binding projects. #9376
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
Closed
Closed
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
6186e98
[tests] Fix binding project file path
rolfbjarne 98b52c7
[tests] Port interdependent-binding-projects to .NET.
rolfbjarne 5a5a53e
[xharness] Add the .NET version of interdependent-binding-projects to…
rolfbjarne 9fddbbd
[xharness] Enhance ResolveAllPaths to understand $(RootTestsDirectory).
rolfbjarne 1b093b8
[dotnet-linker] Include code we need from mtouch/mmp into our .NET li…
rolfbjarne 0ac3879
[dotnet-linker] Enable unsafe code, since some of the bundler code is…
rolfbjarne 90914c1
[dotnet-linker] Add a Constants class to the build.
rolfbjarne 08961a6
[dotnet-linker] Make Application take the input arguments, so that we…
rolfbjarne 578d84a
[dotnet-linker] Set Application.BuildTarget so that the shared Applic…
rolfbjarne 658d25f
[dotnet-linker] Add a Target instance
rolfbjarne c418626
[dotnet-linker] Adjust ifdefs to make existing/shared code compile co…
rolfbjarne f6cf39c
[dotnet-linker] Add a DotNetResolver.
rolfbjarne bb6e8d3
[dotnet-linker] Create compat API to make DerivedLinkContext compile.
rolfbjarne 31f7b6f
[dotnet-linker] Set Application.DeploymentTarget and Application.SdkV…
rolfbjarne f7d55ee
[dotnet-linker] We don't need to stub out Application.LoadSymbols any…
rolfbjarne e304993
[dotnet-linker] Stub out an Application.SelectRegistrar
rolfbjarne 48620b4
[dotnet-linker] Stub out a few Driver members.
rolfbjarne 693f942
[dotnet-linker] Exclude Driver.Main from the build
rolfbjarne 17aabeb
[dotnet-linker] Add a using so that the static registrar sees LinkCon…
rolfbjarne 3046ebc
[dotnet-linker] Add TargetFramework to the configuration and set Driv…
rolfbjarne 29fd334
[dotnet-linker] Implement Application.ProductName instead of Applicat…
rolfbjarne ebfc7e1
[mtouch/mmp] Simplify some code to add assemblies to a target.
rolfbjarne 7a446f6
[dotnet-linker] Add a LoadNonSkippedAssembliesStep.
rolfbjarne dd3967b
[dotnet-linker] Work around a linker bug where the linker won't tell …
rolfbjarne e83dd10
[bundlers] Refactor code to cope with not knowing whether a particula…
rolfbjarne 6f1b1c6
[mtouch/mmp] Make it possible to compute assembly identity even if an…
rolfbjarne 641a3fb
[msbuild] Add support for passing LinkerFlags to the LinkNativeCode task
rolfbjarne 61b3cec
[msbuild] Add support for passing -force_load to the native linker in…
rolfbjarne d630495
[dotnet-linker] Add error reporting to ConfigurationAwareStep
rolfbjarne 1d303fe
[dotnet-linker] Add an ExtractBindingLibrariesStep.
rolfbjarne b8482ca
[dotnet] Read native linker flags from binding libraries from the man…
rolfbjarne 184114e
[dotnet-linker] Propagate the verbosity elsewhere.
rolfbjarne 5795f11
[tests] Adjust the bindings-test2 project to work with xharness.
rolfbjarne ea30bc9
[xharness] Make sure MSBUILD_EXE_PATH is not set when executing dotnet.
rolfbjarne 138ebc7
[xharness] Bump timeout for the .NET tests.
rolfbjarne b84e5e8
[tests] Add a reference to System.Json in the interdependent-binding-…
rolfbjarne 695ca8d
[xharness] Don't clone the same project multiple times when reached t…
rolfbjarne 8a959d3
[xharness] Add some debugging to track down app crash I can't reprodu…
rolfbjarne f1f802d
Try not signing to see if that fixes anything.
rolfbjarne 42aac77
[tests] Remove bindings-test2 to see if that fixes the crash.
rolfbjarne fdf41d9
[tests] Remove the other binding project reference as well.
rolfbjarne 89303c6
Trip down test suite to speed up turnaround
rolfbjarne fcc40ee
Try to make it more like introspection, which seems to work just fine.
rolfbjarne 70f85a7
Does this crash?
rolfbjarne 1a444fe
What about this?
rolfbjarne 6efae5b
And now?
rolfbjarne e97d27c
Revert all the debug code to track down the crash.
rolfbjarne 95bb828
[tests] Make sure the .NET version of the independent-binding-project…
rolfbjarne 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we already have an extended bool parsing method ? accepting yes, no, 1, 0...
otherwise maybe use
Boolean.TryParse?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The string comes from MSBuild, where the convention is to use
true/false(and string comparisons are done case-insensitively), which is why I did it this way. Also this isn't really a user-configurable value, we're setting it ourselves elsewhere.