Remove the DBC interpreter flag. (flutter/engine#53204)

Cleanup of unused flag.
This commit is contained in:
Chinmay Garde
2024-06-05 16:29:16 -07:00
committed by GitHub
parent 6eacdf2be8
commit b5bc4a3868

View File

@@ -35,9 +35,6 @@ def get_out_dir(args):
if args.unoptimized:
target_dir.append('unopt')
if args.target_os != 'ios' and args.interpreter:
target_dir.append('interpreter')
if args.android_cpu != 'arm':
target_dir.append(args.android_cpu)
@@ -575,10 +572,6 @@ def to_gn_args(args):
if args.allow_deprecated_api_calls:
gn_args['allow_deprecated_api_calls'] = args.allow_deprecated_api_calls
# DBC is not supported anymore.
if args.interpreter:
raise Exception('--interpreter is no longer needed on any supported platform.')
if args.target_os is None:
if sys.platform.startswith(('cygwin', 'win')):
gn_args['dart_use_fallback_root_certificates'] = True
@@ -877,7 +870,6 @@ def parse_args(args):
choices=['debug', 'profile', 'release', 'jit_release'],
default='debug'
)
parser.add_argument('--interpreter', default=False, action='store_true')
parser.add_argument(
'--dart-debug',
default=False,