[release/9.0-staging] Fixed android build with NDK 23 #111696
Merged
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.
Customer Impact
Building locally mono android with NDK 23 leads to an error where
_LibClang
item holds two different paths at once. The problem was caused by_LibClang
being treated like a property inproj
file while being an item. This PR fixes the issue by referring to it using@
instead of$
.Fixes #111695.
Regression
The bug was introduced to .NET 9 branch in 63cb882 to fix .NET 9 CI after NDK 27 bump.
Testing
This affects the local build only (as we build .NET 9 with NDK 27) so I verified locally that the error is no longer present.
Risk
Very low.