mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add the ‘vulkan’ suffix to the out directory when the —enable-vulkan flag is specified. (flutter/engine#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.
This commit is contained in:
parent
fdc849827a
commit
f6ab3cd553
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user