summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2021-06-24 10:56:05 +0100
committerAnton Hansson <hansson@google.com>2021-06-24 11:07:58 +0100
commit73be151d2e8c0e51d0b6f5de6ca0230bd2f48fa6 (patch)
tree33f6976f8f928e05db2db836bd8acaf48af18b33
parent6e267d9a00f061bb302aed92031036cbaee480fe (diff)
downloadsdk-73be151d2e8c0e51d0b6f5de6ca0230bd2f48fa6.tar.gz
Fetch filtered api-versions.xml for 'current'
Bug: 186478867 Test: run script Change-Id: I38d6b6ce62b784601503df1a4e0e94215e84268a
-rwxr-xr-xupdate_prebuilts/update_prebuilts.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/update_prebuilts/update_prebuilts.py b/update_prebuilts/update_prebuilts.py
index da1821f01..003e2d9e0 100755
--- a/update_prebuilts/update_prebuilts.py
+++ b/update_prebuilts/update_prebuilts.py
@@ -560,6 +560,9 @@ def update_framework(build_id, sdk_dir):
dst_path = path(target_dir, filename)
mv(src_path, dst_path)
+ # Filtered API DB is currently only available for "public"
+ fetch_artifacts(framework_sdk_target, build_id, {'api-versions-public-filtered.xml': path(target_dir, 'data/api-versions-filtered.xml')})
+
return True
def update_makefile(build_id):