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

Unified Diff: infra/bots/recipe_modules/skia/api.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/api.py
diff --git a/infra/bots/recipe_modules/skia/api.py b/infra/bots/recipe_modules/skia/api.py
index d6c73270dbe1c9f22960efac81f636ff1ca1517e..078b0614855f3ffbbdb52b5f5b082d625cdf552b 100644
--- a/infra/bots/recipe_modules/skia/api.py
+++ b/infra/bots/recipe_modules/skia/api.py
@@ -22,6 +22,7 @@ from . import fake_specs
from . import ios_flavor
from . import pdfium_flavor
from . import valgrind_flavor
+from . import vulkan_flavor
from . import xsan_flavor
@@ -52,6 +53,7 @@ BUILD_PRODUCTS_ISOLATE_WHITELIST = [
'iOSShell.ipa',
'visualbench',
'visualbench.exe',
+ 'vulkan-1.dll',
]
@@ -78,6 +80,9 @@ def is_valgrind(builder_cfg):
return 'Valgrind' in builder_cfg.get('extra_config', '')
+def is_vulkan(builder_cfg):
+ return 'Vulkan' in builder_cfg.get('extra_config', '')
+
def is_xsan(builder_cfg):
return ('ASAN' in builder_cfg.get('extra_config', '') or
'MSAN' in builder_cfg.get('extra_config', '') or
@@ -100,6 +105,8 @@ class SkiaApi(recipe_api.RecipeApi):
return valgrind_flavor.ValgrindFlavorUtils(self)
elif is_xsan(builder_cfg):
return xsan_flavor.XSanFlavorUtils(self)
+ elif is_vulkan(builder_cfg):
+ return vulkan_flavor.VulkanFlavorUtils(self)
elif builder_cfg.get('configuration') == 'Coverage':
return coverage_flavor.CoverageFlavorUtils(self)
else:

Powered by Google App Engine
This is Rietveld 408576698