Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: infra/bots/recipe_modules/skia/vulkan_flavor.py

Issue 2188543002: Add Vulkan runtime dll (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Fix presubmit Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698