Update droidstubs to use the SdkExt info file

metalava now accepts the --sdk-extensions-info flag. The argument is a
file containing metadata regarding extension SDKs; the SdkExtensions
module defines such a file. Update the droidstub targets to point to
this file.

Bug: 228828986
Test: m sdk dist
Change-Id: I3a5d92c640d9b22add416a20dbec3c8e352ba963
This commit is contained in:
Mårten Kongstad 2022-09-06 15:50:37 +02:00
parent 770e68977b
commit 5484533fba
2 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,7 @@ droidstubs {
"api-versions-jars-dir",
],
api_levels_sdk_type: "system",
extensions_info_file: ":sdk-extensions-info",
}
droidstubs {
@ -146,6 +147,7 @@ droidstubs {
"packages/modules/Media/apex/aidl/stable",
],
},
extensions_info_file: ":sdk-extensions-info",
}
/////////////////////////////////////////////////////////////////////

View File

@ -420,6 +420,7 @@ droidstubs {
"sdk-dir",
"api-versions-jars-dir",
],
extensions_info_file: ":sdk-extensions-info",
}
droidstubs {
@ -432,6 +433,7 @@ droidstubs {
"api-versions-jars-dir",
],
api_levels_sdk_type: "system",
extensions_info_file: ":sdk-extensions-info",
}
/////////////////////////////////////////////////////////////////////