Commit f955bdac by Shahbaz Youssefi Committed by Commit Bot

Fix vulkan_null perftests on Linux

//build/config/gcc:rpath_for_built_shared_libraries was supposed to be used to add . to rpath (which affected only release. I didn't investigate how it was affecting debug). This resulted in libVkICD_mock_icd.so not being found and vulkan_null tests being ignored. Change-Id: I71fb8578f873e4bed602b2c3dcf6d93240dcf30e Reviewed-on: https://chromium-review.googlesource.com/c/1272496Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent 9d0bb3d4
...@@ -268,6 +268,11 @@ if (is_win || is_linux || is_android || is_mac) { ...@@ -268,6 +268,11 @@ if (is_win || is_linux || is_android || is_mac) {
angle_root + ":internal_config", angle_root + ":internal_config",
angle_root + ":libANGLE_config", angle_root + ":libANGLE_config",
] ]
if (is_linux && !is_component_build) {
# Set rpath to find *.so files even in a non-component build.
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
}
} }
} }
......
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