Skip to content

Commit

Permalink
Fix SwiftShader to use data_deps.
Browse files Browse the repository at this point in the history
Using deps instead of data_deps was causing some tests to try and
load vk_swiftshader every test execution. Even if the test was not
using Vulkan in ANGLE.

Fixes the TSAN gpu_unittests in Chromium.

Bug: angleproject:3876
Change-Id: I2acbf02ab9aa39632bc252c12e19da28ad90175d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1815910
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
  • Loading branch information
null77 authored and Commit Bot committed Sep 23, 2019
1 parent ecd3ebe commit 49fd27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ if (angle_enable_vulkan) {
}

if (angle_swiftshader) {
deps += [
data_deps += [
":angle_swiftshader_icd",
"$swiftshader_dir/src/Vulkan:swiftshader_libvulkan",
]
Expand Down

0 comments on commit 49fd27d

Please sign in to comment.