Chromium Code Reviews| Index: infra/bots/recipe_modules/skia/vulkan_flavor.py |
| diff --git a/infra/bots/recipe_modules/skia/vulkan_flavor.py b/infra/bots/recipe_modules/skia/vulkan_flavor.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..aa9aad7a333eb6ba1c30f1a587ce57c62f49c4dd |
| --- /dev/null |
| +++ b/infra/bots/recipe_modules/skia/vulkan_flavor.py |
| @@ -0,0 +1,16 @@ |
| +# Copyright 2016 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import default_flavor |
| + |
| +"""Vulkan flavor utils, used for building Skia with Vulkan.""" |
| + |
| +class VulkanFlavorUtils(default_flavor.DefaultFlavorUtils): |
| + def copy_extra_build_products(self, swarming_out_dir): |
|
borenet
2016/07/27 18:39:28
I recommend doing this in default_flavor, since ev
kjlubick
2016/07/27 18:51:27
Done.
|
| + if "Win" in self._skia_api.builder_name: |
| + # This copies vulkan-1.dll that has been bundled into win_vulkan_sdk |
| + # since version 2 See skia/api BUILD_PRODUCTS_ISOLATE_WHITELIST |
| + self._skia_api.copy_build_products( |
| + self._skia_api.m.path['slave_build'].join('win_vulkan_sdk'), |
| + swarming_out_dir) |