summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/StubLibraries.bp9
1 files changed, 9 insertions, 0 deletions
diff --git a/api/StubLibraries.bp b/api/StubLibraries.bp
index 28b2d4b5e3ee..50c9fd3ec499 100644
--- a/api/StubLibraries.bp
+++ b/api/StubLibraries.bp
@@ -900,6 +900,15 @@ droidstubs {
],
api_levels_sdk_type: "system",
extensions_info_file: ":sdk-extensions-info",
+ dists: [
+ // Make the api-versions.xml file for the system API available in the
+ // sdk build target.
+ {
+ targets: ["sdk"],
+ dest: "api-versions_system.xml",
+ tag: ".api_versions.xml",
+ },
+ ],
}
// This module can be built with: