From 26c843fd1256d75cd28bba630b478290acda3c32 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Wed, 5 May 2021 11:11:57 +0100 Subject: [PATCH] Remove --ignore-classes-on-classpath argument This argument doesn't appear to alter the output. Bug: 186197911 Test: diff metadata.zip, stubs.srcjar, annotations.zip before and after Change-Id: I5147cf1f0658c78e5ab24952285c8fc1c036a55d --- ApiDocs.bp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ApiDocs.bp b/ApiDocs.bp index d3bef7f9046be..5cbc78c8c594e 100644 --- a/ApiDocs.bp +++ b/ApiDocs.bp @@ -99,9 +99,7 @@ droidstubs { arg_files: [ "core/res/AndroidManifest.xml", ], - args: metalava_framework_docs_args + - // Needed for hidden libcore annotations for now. - " --ignore-classes-on-classpath ", + args: metalava_framework_docs_args, write_sdk_values: true, } @@ -112,8 +110,6 @@ droidstubs { "core/res/AndroidManifest.xml", ], args: metalava_framework_docs_args + - // Needed for hidden libcore annotations for now. - " --ignore-classes-on-classpath " + " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) ", write_sdk_values: true, }