提交 a45378b6 编写于 作者: C Chinmay Garde

Only use the Dart bytecode interpreter on iOS device targets. (#2697)

上级 1db1d150
......@@ -85,7 +85,11 @@ def to_gn_args(args):
if aot:
gn_args['dart_target_arch'] = gn_args['target_cpu']
gn_args['dart_experimental_interpreter'] = args.runtime_mode == 'debug'
# On iOS Devices, use the Dart bytecode interpreter so we don't incur
# snapshotting and linking costs of the precompiler during development.
# We can still use the JIT on the simulator though.
use_dbc = args.target_os == 'ios' and not args.simulator and args.runtime_mode == 'debug'
gn_args['dart_experimental_interpreter'] = use_dbc
gn_args['flutter_product_mode'] = (gn_args['dart_runtime_mode'] == 'release')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册