-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xamarin.Android.Build.Tasks] ignore aapt/AndroidManifest.xml (#2144)
* [Xamarin.Android.Build.Tasks] ignore aapt/AndroidManifest.xml Context: https://stackoverflow.com/questions/41592744/function-of-aapt-androidmanifest-xml-in-aar Fixes: #2141 Apparently Android Studio is now shipping a duplicate, pre-formatted `AndroidManifest.xml` file, inside of AAR files. Its purpose is to be used with `aapt` invocations, since errors may be thrown related to `{` or `}` characters. Since this file may exist in AAR files used by Xamarin.Android, we should ignore `aapt/AndroidManifest.xml` files the same way we ignore them inside `manifest` or `bin` directories. Changes: - Added a `IgnoredManifestDirectories` list, since we are getting to a point where `!= && != && !=` would be a lot of noise. - Switched the LINQ expression to simple `foreach` loop, which should also give a slight performance benefit. * Fix test on MacOS
- Loading branch information
1 parent
2214fac
commit f6c3288
Showing
3 changed files
with
58 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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 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 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