diff options
author | Neil Fuller <nfuller@google.com> | 2018-09-26 11:09:59 +0100 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2018-09-26 11:09:59 +0100 |
commit | 677bf5e16804b342fb0bf98075bd6d6034490d80 (patch) | |
tree | 82c46335d479e41a331f19872617f304681db9dd | |
parent | d129e1daf125e6ef2ea832ce39302879a375bbd7 (diff) | |
download | apache-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.bp | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -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, } |