File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Xamarin.Android.Build.Tasks/Tasks Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,10 @@ public override bool RunTask ()
6363 // Use IncludeDebugSymbols to determine which one to include.
6464 // We may eventually have files such as `libmono-android-checked+asan.release.so` as well.
6565 var fileName = Path . GetFileNameWithoutExtension ( library . ItemSpec ) ;
66- if ( fileName . StartsWith ( "libmono-android" , StringComparison . Ordinal ) ) {
66+ if ( ExcludedLibraries != null && ExcludedLibraries . Contains ( fileName , StringComparer . OrdinalIgnoreCase ) ) {
67+ Log . LogDebugMessage ( $ "Excluding '{ library . ItemSpec } '") ;
68+ continue ;
69+ } else if ( fileName . StartsWith ( "libmono-android" , StringComparison . Ordinal ) ) {
6770 if ( fileName . EndsWith ( ".debug" , StringComparison . Ordinal ) ) {
6871 if ( ! IncludeDebugSymbols )
6972 continue ;
@@ -82,9 +85,6 @@ public override bool RunTask ()
8285 if ( ! wantedComponents . Contains ( fileName ) ) {
8386 continue ;
8487 }
85- } else if ( ExcludedLibraries != null && ExcludedLibraries . Contains ( fileName , StringComparer . OrdinalIgnoreCase ) ) {
86- Log . LogDebugMessage ( $ "Excluding '{ library . ItemSpec } '") ;
87- continue ;
8888 }
8989
9090 output . Add ( library ) ;
You can’t perform that action at this time.
0 commit comments