From 1e0342fd2ca2785a2edfbc26108a60101aede2e1 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Mon, 4 Nov 2019 12:35:24 +0000 Subject: [PATCH] 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 --- Android.bp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Android.bp b/Android.bp index 8a21a9c674055..7af0470bde226 100644 --- a/Android.bp +++ b/Android.bp @@ -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", ],