Skip to content

Commit

Permalink
Make 'gn --debug' and 'gn --debug --dynamic' identical. (flutter#5999)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaranov authored Aug 10, 2018
1 parent e80bc10 commit 0c00343
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/gn
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0c00343

Please sign in to comment.