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: |