-
Notifications
You must be signed in to change notification settings - Fork 566
[TrimmableTypeMap] Build pipeline: targets, scanner, task, assembly store #10980
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
Open
simonrozsival
wants to merge
29
commits into
main
Choose a base branch
from
dev/simonrozsival/trimmable-typemap-build-pipeline
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,616
−382
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f5fa9c1
trigger PR creation
simonrozsival c68f347
[TrimmableTypeMap] Build pipeline: targets, scanner, task, assembly s…
simonrozsival 4ee4b24
Fix build: add AcwMapDirectory, update ManifestGenerator reference
simonrozsival d6dbe32
Simplify HelloWorld: avoid JavaCast<T> (workaround for disposed peer …
simonrozsival 0e1c07b
Restore FindViewById<Button> sample (CreatePeer fix works)
simonrozsival a8f0048
Generate JCWs for framework Implementor types (mono/ prefix)
simonrozsival 682d727
Remove JCW framework filter, fix native callback name tests
simonrozsival 2b58fd2
Fix framework Implementor JCW generation (javac + runtime)
simonrozsival 52482b1
Fix _RemoveRegisterAttribute for PublishTrimmed=true
simonrozsival 24fb38a
Make _RemoveRegisterAttribute an empty target for trimmable path
simonrozsival cbcd220
Reset HelloWorld sample to base, keep trimmable typemap config
simonrozsival 1c6ca6c
Address Copilot review feedback
simonrozsival 233eeb9
Address review: fix acw-map.txt and JCW filter comments
simonrozsival 0bf4537
Address review: fix Categories parsing, delete ManifestModel, documen…
simonrozsival 2d03c56
Fix: reset Java.Interop submodule to match base
simonrozsival 7e3c653
Fix test: JniNameToJavaName now converts $ to . for inner classes
simonrozsival d6f0660
Set TrimmableTypeMap=false for MonoVM and NativeAOT builds
simonrozsival 443396d
Fix tests: get_TargetType inherited from JavaPeerProxy<T>
simonrozsival 773eb4f
Fix: use IntermediateOutputPath for typemap output directory
simonrozsival 4d4dc9f
Address review: incremental build, FileWrites, and error codes
simonrozsival 6ceefe8
Wire AcwMapWriter to populate acw-map.txt in trimmable path (#11015)
simonrozsival 384a5a8
Extract TrimmableTypeMapGenerator from MSBuild task
simonrozsival a4264d1
Address PR review feedback
simonrozsival 56db71b
Address android-reviewer findings
simonrozsival 6c3c7b3
Address android-reviewer findings (round 2)
simonrozsival 9883930
Fix NativeAOT.targets: only set TrimmableTypeMap=true when _AndroidTy…
simonrozsival 1a990b0
Revert NativeAOT TrimmableTypeMap wiring; defer to separate PR
simonrozsival 03fb97e
[CI] Use CoreCLR for HelloWorld smoke test
simonrozsival 3c1d9d7
Fix CI test failures
simonrozsival 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
105 changes: 0 additions & 105 deletions
105
src/Microsoft.Android.Sdk.TrimmableTypeMap/Generator/ManifestModel.cs
This file was deleted.
Oops, something went wrong.
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
19 changes: 19 additions & 0 deletions
19
src/Microsoft.Android.Sdk.TrimmableTypeMap/NullableExtensions.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #nullable enable | ||
| using System.Diagnostics.CodeAnalysis; | ||
|
|
||
| namespace Microsoft.Android.Sdk.TrimmableTypeMap; | ||
|
|
||
| // The static methods in System.String are not NRT annotated in netstandard2.0, | ||
| // so we need our own extension methods to make them nullable aware. | ||
| static class NullableExtensions | ||
| { | ||
| public static bool IsNullOrEmpty ([NotNullWhen (false)] this string? str) | ||
| { | ||
| return string.IsNullOrEmpty (str); | ||
| } | ||
|
|
||
| public static bool IsNullOrWhiteSpace ([NotNullWhen (false)] this string? str) | ||
| { | ||
| return string.IsNullOrWhiteSpace (str); | ||
| } | ||
| } |
90 changes: 90 additions & 0 deletions
90
src/Microsoft.Android.Sdk.TrimmableTypeMap/Properties/Resources.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.