Skip to content

Commit dd75e13

Browse files
[Tests] Skip CheckLintErrorsAndWarnings on NativeAOT
The trimmable typemap generates additional Java Callable Wrappers that trip XA0102 lint warnings. Ignore on NativeAOT until #11774 is resolved. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent fd90ac1 commit dd75e13

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1934,6 +1934,9 @@ public void CheckLintErrorsAndWarnings ([Values (AndroidRuntime.CoreCLR, Android
19341934
if (IgnoreUnsupportedConfiguration (runtime, release: isRelease)) {
19351935
return;
19361936
}
1937+
if (IgnoreOnNativeAot (runtime, "the trimmable typemap generates additional Java Callable Wrappers that trip XA0102 lint warnings (e.g. CustomX509TrustManager, MissingApplicationIcon). Tracked by https://github.com/dotnet/android/issues/11774.")) {
1938+
return;
1939+
}
19371940

19381941
var proj = new XamarinAndroidApplicationProject {
19391942
IsRelease = isRelease,

0 commit comments

Comments
 (0)