Remove libcore implementation source from hiddenapi-mappings

There is an overlap between the source code provided by the
metalava-api-stubs-default and that provided by the
non_openjdk_java_files and openjdk_java_files filegroups. That causes
problems when switching the API generation from libcore implementation
code to libcore stubs code.

Removing the libcore implementation sources will remove any mappings
from class/member signatures to source location for any files from
libcore but that should not be a problem as that was only used for
batch addition of UnsupportedAppUsage annotations and that has alreadu
been done.

Bug: 143864733
Test: m hiddenapi-mappings && m checkbuild
Change-Id: Id47dcb8fc497c9bafa6f501cb2debb835a5f6942
This commit is contained in:
Paul Duffin
2019-11-04 12:35:24 +00:00
parent ef6fe13c77
commit 1e0342fd2c

View File

@@ -1432,8 +1432,6 @@ droidstubs {
name: "hiddenapi-mappings",
defaults: ["metalava-api-stubs-default"],
srcs: [
":non_openjdk_java_files",
":openjdk_java_files",
":opt-telephony-common-srcs",
],