Parse raw xml resources for tools annotations.
RELNOTES: None
@@ -147,7 +147,9 @@ public class ResourceCompiler {
final String filename = interpolateAapt2Filename(qualifiers, file.getFileName().toString());
final List<Path> results = new ArrayList<>();
- if (qualifiers.asFolderType().equals(ResourceFolderType.VALUES)) {
+ if (qualifiers.asFolderType().equals(ResourceFolderType.VALUES)
+ || (qualifiers.asFolderType().equals(ResourceFolderType.RAW)
+ && file.getFileName().toString().endsWith(".xml"))) {
extractAttributes(directoryName, filename, results);
}
