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

Flip the switch on enabling the interpreter by default in debug runtime mode. (#2691)

上级 924b608e
......@@ -85,7 +85,7 @@ def to_gn_args(args):
if aot:
gn_args['dart_target_arch'] = gn_args['target_cpu']
gn_args['dart_experimental_interpreter'] = args.experimental_interpreter
gn_args['dart_experimental_interpreter'] = args.runtime_mode == 'debug'
gn_args['flutter_product_mode'] = (gn_args['dart_runtime_mode'] == 'release')
......@@ -122,8 +122,6 @@ def parse_args(args):
parser.add_argument('--runtime-mode', type=str, choices=['debug', 'profile', 'release'], default='debug')
parser.add_argument('--experimental-interpreter', default=False, dest='experimental_interpreter', action='store_true')
parser.add_argument('--target-os', type=str, choices=['android', 'ios'])
parser.add_argument('--android', dest='target_os', action='store_const', const='android')
parser.add_argument('--android-cpu', type=str, choices=['arm', 'x64', 'x86'], default='arm')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册