[Impeller] Specify the min simulator version. (flutter/engine#36809)

This commit is contained in:
Chinmay Garde
2022-10-17 14:22:55 -07:00
committed by GitHub
parent 723551a5ee
commit c79513f07c

View File

@@ -100,15 +100,19 @@ def main():
'-Oz',
# Allow aggressive, lossy floating-point optimizations.
'-ffast-math',
# limiting to ios-metal1.2 disables shader debug symbols, only
# enabling these in optimize mode.
# see https://github.com/flutter/flutter/issues/106066
'--std=ios-metal1.2',
]
if args.platform == 'ios':
# limiting to ios-metal1.2 disables shader debug symbols, only
# enabling these in optimize mode.
# see https://github.com/flutter/flutter/issues/106066
command += [
'--std=ios-metal1.2',
'-mios-version-min=10.0',
]
elif args.platform == 'ios-simulator':
command += [
'-miphonesimulator-version-min=11.0',
]
else:
command += [
# Embeds both sources and driver options in the output. This aids in