Skip to content

Commit

Permalink
Add the ‘vulkan’ suffix to the out directory when the —enable-vulkan …
Browse files Browse the repository at this point in the history
…flag is specified. (flutter#3618)

Earlier, when the —enable-vulkan flag was specified, the out directory name was determined by the other flags specified to `flutter/tools/gn`. But, the build itself was Vulkan enabled. Now that we are going to add the vulkan target to buildbot, we want to clearly delineate a Vulkan enabled build from a non-Vulkan enabled one.
  • Loading branch information
chinmaygarde authored Apr 22, 2017
1 parent ff941a4 commit 0cf10ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/gn
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ def get_out_dir(args):
if args.android_cpu != 'arm':
target_dir.append(args.android_cpu)

if args.enable_vulkan:
target_dir.append('vulkan')

return os.path.join('out', '_'.join(target_dir))

def to_command_line(gn_args):
Expand Down

0 comments on commit 0cf10ef

Please sign in to comment.