Commit ad3aaeba by Jamie Madill

Disable Vulkan layers in sanitized builds.

This was causing very slow builds/test runs. Bug: chromium:837166 Bug: chromium:834269 Change-Id: If2e5665455d4a8af13cbc732a65a07550ace8304 Reviewed-on: https://chromium-review.googlesource.com/1036220Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent ddd77245
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
import("//build_overrides/build.gni") import("//build_overrides/build.gni")
import("//build/config/ui.gni") # import the use_x11 variable import("//build/config/ui.gni") # import the use_x11 variable
import("//build/config/sanitizers/sanitizers.gni")
if (is_android) { if (is_android) {
import("//build/config/android/config.gni") import("//build/config/android/config.gni")
} }
...@@ -50,7 +51,10 @@ declare_args() { ...@@ -50,7 +51,10 @@ declare_args() {
declare_args() { declare_args() {
angle_enable_gl_null = angle_enable_gl angle_enable_gl_null = angle_enable_gl
angle_enable_hlsl = angle_enable_d3d9 || angle_enable_d3d11 angle_enable_hlsl = angle_enable_d3d9 || angle_enable_d3d11
angle_enable_vulkan_validation_layers = angle_enable_vulkan
# Disable the layers in ubsan builds because of really slow builds.
angle_enable_vulkan_validation_layers =
angle_enable_vulkan && !is_ubsan && !is_tsan && !is_asan
} }
if (is_win) { if (is_win) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment