Import module-lib and system-server api files too
The change I97ebd1b3ef6aa96d6a9a52a46ce86cfb91df4451 only added support
for grabbing the stub jar files. Grab the api files too.
Bug: 149293194
Test: ./update_prebuilts.py -f 30 <bid>
Change-Id: Ie2ee6d40fcbc5dc8f6041c62d3c227742cce3297
Merged-In: Ie2ee6d40fcbc5dc8f6041c62d3c227742cce3297
diff --git a/update_prebuilts/update_prebuilts.py b/update_prebuilts/update_prebuilts.py
index 7bad99b..b30c173 100755
--- a/update_prebuilts/update_prebuilts.py
+++ b/update_prebuilts/update_prebuilts.py
@@ -696,7 +696,7 @@
def finalize_sdk(build_id, sdk_version):
target_finalize_dir = '%d' % sdk_version
- for api_scope in ['public', 'system', 'test']:
+ for api_scope in ['public', 'system', 'test', 'module-lib', 'system-server']:
artifact_to_path = {'apistubs/android/' + api_scope + '/api/*.txt':
path(target_finalize_dir, api_scope, 'api', '*')}