diff options
author | Colin Cross <ccross@android.com> | 2020-05-14 16:51:43 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2020-05-15 17:16:24 -0700 |
commit | f83200d44f335c3a4e066c04c70e0bf25b57d080 (patch) | |
tree | 81962216395ed1522bf404ef0a8f637b08f08612 /update_prebuilts | |
parent | 48cb8756bf11af6a9df5286a821005c23c0f4366 (diff) | |
download | platform_prebuilts_sdk-f83200d44f335c3a4e066c04c70e0bf25b57d080.tar.gz platform_prebuilts_sdk-f83200d44f335c3a4e066c04c70e0bf25b57d080.tar.bz2 platform_prebuilts_sdk-f83200d44f335c3a4e066c04c70e0bf25b57d080.zip |
Add core-for-system-modules.jar to update_prebuilts.py
Fetch core-for-system-modules.jar when updating platform SDKs.
Bug: 117069453
Test: update_prebuilts.py -f 30 6441176
Change-Id: I621937adc6ffd7328ac1e605f4989562ed96c498
Merged-In: I621937adc6ffd7328ac1e605f4989562ed96c498
Diffstat (limited to 'update_prebuilts')
-rwxr-xr-x | update_prebuilts/update_prebuilts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update_prebuilts/update_prebuilts.py b/update_prebuilts/update_prebuilts.py index b30c17395..582ca03fc 100755 --- a/update_prebuilts/update_prebuilts.py +++ b/update_prebuilts/update_prebuilts.py @@ -668,7 +668,7 @@ def update_framework(build_id, sdk_dir): return False with zipfile.ZipFile(artifact_path) as zipFile: - for filename in ['android.jar', 'framework.aidl', 'uiautomator.jar']: + for filename in ['android.jar', 'framework.aidl', 'uiautomator.jar', 'core-for-system-modules.jar']: matches = list(filter(lambda path: filename in path, zipFile.namelist())) if len(matches) != 1: print_e('Expected 1 file named \'%s\' in zip %s, found %d' % |