Merge pull request #20082 from drodriguez/android-aarch64-build-script

This commit is contained in:
swift-ci
2018-11-26 19:34:24 -08:00
committed by GitHub
5 changed files with 43 additions and 16 deletions

View File

@@ -901,13 +901,15 @@ def create_argument_parser():
'Swift')
option('--android-icu-uc', store_path,
help='Path to a directory containing libicuuc.so')
help='Path to libicuuc.so')
option('--android-icu-uc-include', store_path,
help='Path to a directory containing headers for libicuuc')
option('--android-icu-i18n', store_path,
help='Path to a directory containing libicui18n.so')
help='Path to libicui18n.so')
option('--android-icu-i18n-include', store_path,
help='Path to a directory containing headers libicui18n')
option('--android-icu-data', store_path,
help='Path to libicudata.so')
option('--android-deploy-device-path', store_path,
default=android.adb.commands.DEVICE_TEMP_DIR,
help='Path on an Android device to which built Swift stdlib '
@@ -915,6 +917,13 @@ def create_argument_parser():
'the "{}" directory.'.format(
android.adb.commands.DEVICE_TEMP_DIR))
option('--android-arch', store,
choices=['armv7', 'aarch64'],
default='armv7',
help='The Android target architecture when building for Android. '
'Currently only armv7 and aarch64 are supported. '
'%(default)s is the default.')
# -------------------------------------------------------------------------
in_group('Unsupported options')