Add new sdk-> repo mapping to finalize_sdk.py
The script tries to automatically work out the right directory for a given sdk name, but some modules don't fit the current heuristic. Add those in manually. Test: run finalize_sdk.py Change-Id: I9d9b375d686e3406375cdd06fc6c11399290af15
This commit is contained in:
@@ -57,7 +57,9 @@ def fetch_artifacts(target, build_id, artifact_path):
|
||||
def repo_for_sdk(filename):
|
||||
module = filename.split('-')[0]
|
||||
target_dir = ''
|
||||
if module == 'btservices': return Path('prebuilts/module_sdk/Bluetooth')
|
||||
if module == 'media': return Path('prebuilts/module_sdk/Media')
|
||||
if module == 'rkpd': return Path('prebuilts/module_sdk/RemoteKeyProvisioning')
|
||||
if module == 'tethering': return Path('prebuilts/module_sdk/Connectivity')
|
||||
for dir in os.listdir('prebuilts/module_sdk/'):
|
||||
if module.lower() in dir.lower():
|
||||
|
||||
Reference in New Issue
Block a user