Make 'gn --debug' and 'gn --debug --dynamic' identical. (flutter/engine#5999)

This commit is contained in:
Stanislav Baranov 2018-08-10 15:34:41 -07:00 committed by GitHub
parent 5c40c82966
commit e8ffe24cde

View File

@ -16,7 +16,8 @@ def get_out_dir(args):
else:
target_dir = ['host']
if args.dynamic:
runtime_mode = args.runtime_mode
if args.dynamic and runtime_mode in ['profile', 'release']:
target_dir.append('dynamic')
target_dir.append(args.runtime_mode)