summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-03-12 18:47:49 +0900
committerJiyong Park <jiyong@google.com>2018-03-12 18:47:49 +0900
commit07cd5df0ab4a7ae01448c5f3a9ee953aba02fa12 (patch)
tree82b1f9716ca7529e0e094d8a5718713001db6e1f /Android.bp
parenta64fe320aeaa7cac471bdea5db069dd87c32c26f (diff)
downloadapache-xml-07cd5df0ab4a7ae01448c5f3a9ee953aba02fa12.tar.gz
fix: missing resource files in apache-xml.jar
include_srcs: true accidentaly excluded the resource files (output_xml.properties, etc), but included java source files. Switching to java_resource_dirs to correctly include the resource files. Test: unzip -l out/target/product/walleye/system/framework/apache-xml.jar shows the *.properties files. Change-Id: I6a295f8a31758283b596c2cf26d3bcea15fe24d6
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 756a6a6..ef27605 100644
--- a/Android.bp
+++ b/Android.bp
@@ -19,7 +19,7 @@ java_library {
hostdex: true,
no_framework_libs: true,
srcs: ["src/main/java/**/*.java"],
- include_srcs: true,
+ java_resource_dirs: ["src/main/java"],
errorprone: {
javacflags: ["-Xep:MissingOverride:OFF"],
},