Commit 20dc1c9b by Jamie Madill Committed by Commit Bot

Vulkan: Make layers not depend on libvulkan.

On Android the layers were adding a dependency on libvulkan. This isn't necessary. We can move this dependency up the change to libANGLE. Bug: angleproject:2935 Change-Id: I63460c05ca99c5afb6e863af9d6142576aa910b9 Reviewed-on: https://chromium-review.googlesource.com/c/1301721Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent a390ebd9
...@@ -564,6 +564,7 @@ static_library("libANGLE") { ...@@ -564,6 +564,7 @@ static_library("libANGLE") {
} }
if (is_android) { if (is_android) {
sources += libangle_vulkan_android_sources sources += libangle_vulkan_android_sources
libs += ["vulkan"]
} }
deps += [ ":angle_vulkan" ] deps += [ ":angle_vulkan" ]
public_deps += [ "$angle_root/third_party/vulkan-headers:vulkan_headers" ] public_deps += [ "$angle_root/third_party/vulkan-headers:vulkan_headers" ]
......
...@@ -215,7 +215,6 @@ config("vulkan_config") { ...@@ -215,7 +215,6 @@ config("vulkan_config") {
"VK_USE_PLATFORM_ANDROID_KHR", "VK_USE_PLATFORM_ANDROID_KHR",
"VK_USE_PLATFORM_ANDROID_KHX", "VK_USE_PLATFORM_ANDROID_KHX",
] ]
libs = [ "vulkan" ]
} }
defines += [ "API_NAME=\"Vulkan\"" ] defines += [ "API_NAME=\"Vulkan\"" ]
} }
......
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