summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2021-06-28 14:05:13 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-06-28 14:05:13 +0000
commitace07f6fe0256679e8e6935a8efcf9f0c0067b56 (patch)
tree8b9eccb46c5eb1314367216b5a1691255cb9ea0d
parent2385320a4e2bb66a7f6cbb5a6771683f2cbb430b (diff)
parent73be151d2e8c0e51d0b6f5de6ca0230bd2f48fa6 (diff)
downloadsdk-ace07f6fe0256679e8e6935a8efcf9f0c0067b56.tar.gz
Merge "Fetch filtered api-versions.xml for 'current'" into sc-dev
-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):