File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,17 @@ public void NormalInputs ([Values] AndroidRuntime runtime)
7272 }
7373
7474 [ Test ]
75- public void MissingAndroidNDK ( )
75+ public void MissingAndroidNDK ( [ Values ] AndroidRuntime runtime )
7676 {
77- var proj = new XamarinAndroidApplicationProject ( ) ;
77+ bool isRelease = runtime == AndroidRuntime . NativeAOT ;
78+ if ( IgnoreUnsupportedConfiguration ( runtime , release : isRelease ) ) {
79+ return ;
80+ }
81+
82+ var proj = new XamarinAndroidApplicationProject {
83+ IsRelease = isRelease ,
84+ } ;
85+ proj . SetRuntime ( runtime ) ;
7886 proj . SetProperty ( "MonoAndroidToolsDirectory" , "xat" ) ;
7987 proj . SetProperty ( "_JavaSdkDirectory" , "jdk" ) ;
8088 proj . SetProperty ( "_AndroidSdkDirectory" , "sdk" ) ;
You can’t perform that action at this time.
0 commit comments