From bc7c83eff98765bdfbbade53be57cd42dd9c46b2 Mon Sep 17 00:00:00 2001 From: satayev Date: Tue, 29 Jun 2021 22:27:06 +0100 Subject: [PATCH] Build framework-doc-system-stubs with system stubs. Specifing the new property makes soong pass system stub jars for metalava to process. Bug: 190665366 Test: m framework-doc-system-stubs Change-Id: I0da0a0aa79d0128d81a5a6df7f9ce4a190a2b650 --- ApiDocs.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/ApiDocs.bp b/ApiDocs.bp index 83ace022950d6..65a6547b4493b 100644 --- a/ApiDocs.bp +++ b/ApiDocs.bp @@ -140,6 +140,7 @@ droidstubs { args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) ", write_sdk_values: true, + api_levels_sdk_type: "system", } /////////////////////////////////////////////////////////////////////