From 0cf10efe317ed78ddf57b3771199600eea5f48e8 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Fri, 21 Apr 2017 17:05:35 -0700 Subject: [PATCH] =?UTF-8?q?Add=20the=20=E2=80=98vulkan=E2=80=99=20suffix?= =?UTF-8?q?=20to=20the=20out=20directory=20when=20the=20=E2=80=94enable-vu?= =?UTF-8?q?lkan=20flag=20is=20specified.=20(#3618)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tools/gn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/gn b/tools/gn index 4d5e4a4ecc196..9b08144cddc31 100755 --- a/tools/gn +++ b/tools/gn @@ -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):