summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2018-09-26 11:09:59 +0100
committerNeil Fuller <nfuller@google.com>2018-09-26 11:09:59 +0100
commit677bf5e16804b342fb0bf98075bd6d6034490d80 (patch)
tree82c46335d479e41a331f19872617f304681db9dd
parentd129e1daf125e6ef2ea832ce39302879a375bbd7 (diff)
downloadapache-xml-677bf5e16804b342fb0bf98075bd6d6034490d80.tar.gz
Prepare for adding apache-xml to core APIs
apache-xml may expose APIs in the intra-core API set and/or the core platform API so we want to add the source to the core_api_files filegroup. To achieve this there's a list of classes to include in the API, currently empty. Bug: 113148576 Test: build only Change-Id: Ib469ae6b4c908584f20844f5c2b592553f773781
-rw-r--r--Android.bp15
1 files changed, 12 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index d4e2a9b..1189a31 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,14 +14,23 @@
// limitations under the License.
//
+// The set of files that contribute to APIs.
+// Generally, apache-xml source files are not marked with @hide so we add them
+// one-by-one after having done so.
+filegroup {
+ name: "apache-xml_api_files",
+ srcs: [],
+}
+
java_library {
name: "apache-xml",
- installable: true,
- hostdex: true,
- no_framework_libs: true,
srcs: ["src/main/java/**/*.java"],
java_resource_dirs: ["src/main/java"],
+
+ installable: true,
+ hostdex: true,
errorprone: {
javacflags: ["-Xep:MissingOverride:OFF"],
},
+ no_framework_libs: true,
}