diff options
| author | heretic <[email protected]> | 2022-02-10 16:45:46 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:46 +0300 |
| commit | 81eddc8c0b55990194e112b02d127b87d54164a9 (patch) | |
| tree | 9142afc54d335ea52910662635b898e79e192e49 /build/plugins/ios_app_settings.py | |
| parent | 397cbe258b9e064f49c4ca575279f02f39fef76e (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'build/plugins/ios_app_settings.py')
| -rw-r--r-- | build/plugins/ios_app_settings.py | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/build/plugins/ios_app_settings.py b/build/plugins/ios_app_settings.py index bdb66585637..60ec0b4b521 100644 --- a/build/plugins/ios_app_settings.py +++ b/build/plugins/ios_app_settings.py @@ -1,19 +1,19 @@ -import _common as common -import ymake -import os - -def onios_app_settings(unit, *args): - tail, kv = common.sort_by_keywords( - {'OS_VERSION': 1, 'DEVICES': -1}, - args - ) - if tail: - ymake.report_configure_error('Bad IOS_COMMON_SETTINGS usage - unknown data: ' + str(tail)) - if kv.get('OS_VERSION', []): - unit.onios_app_common_flags(['--minimum-deployment-target', kv.get('OS_VERSION', [])[0]]) - unit.onios_app_assets_flags(['--filter-for-device-os-version', kv.get('OS_VERSION', [])[0]]) - devices_flags = [] - for device in kv.get('DEVICES', []): - devices_flags += ['--target-device', device] - if devices_flags: - unit.onios_app_common_flags(devices_flags) +import _common as common +import ymake +import os + +def onios_app_settings(unit, *args): + tail, kv = common.sort_by_keywords( + {'OS_VERSION': 1, 'DEVICES': -1}, + args + ) + if tail: + ymake.report_configure_error('Bad IOS_COMMON_SETTINGS usage - unknown data: ' + str(tail)) + if kv.get('OS_VERSION', []): + unit.onios_app_common_flags(['--minimum-deployment-target', kv.get('OS_VERSION', [])[0]]) + unit.onios_app_assets_flags(['--filter-for-device-os-version', kv.get('OS_VERSION', [])[0]]) + devices_flags = [] + for device in kv.get('DEVICES', []): + devices_flags += ['--target-device', device] + if devices_flags: + unit.onios_app_common_flags(devices_flags) |
