Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: gpu/vulkan/BUILD.gn

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/texture_manager.cc ('k') | headless/lib/browser/headless_screen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/vulkan/BUILD.gn
diff --git a/gpu/vulkan/BUILD.gn b/gpu/vulkan/BUILD.gn
index 758a14ba7f9e156390bd098812653c071912f365..39ed1e066822ed9cf657bb46ecc84e2de310d77d 100644
--- a/gpu/vulkan/BUILD.gn
+++ b/gpu/vulkan/BUILD.gn
@@ -10,6 +10,7 @@ config("vulkan_config") {
}
if (enable_vulkan) {
+ vulkan_lib_dir = getenv("VULKAN_SDK") + "/lib"
component("vulkan") {
output_name = "vulkan_wrapper"
@@ -56,7 +57,10 @@ if (enable_vulkan) {
libs = [ "vulkan" ]
if (current_cpu == "x64") {
- lib_dirs = [ "/usr/lib/x86_64-linux-gnu" ]
+ lib_dirs = [
+ "/usr/lib/x86_64-linux-gnu",
+ vulkan_lib_dir,
+ ]
} else {
assert(false, "Unsupported vulkan target: " + current_cpu)
}
@@ -87,7 +91,10 @@ if (enable_vulkan) {
include_dirs = [ "/usr/include" ]
if (current_cpu == "x64") {
- lib_dirs = [ "/usr/lib/x86_64-linux-gnu" ]
+ lib_dirs = [
+ "/usr/lib/x86_64-linux-gnu",
+ vulkan_lib_dir,
+ ]
} else {
assert(false, "Unsupported vulkan target: " + current_cpu)
}
« no previous file with comments | « gpu/command_buffer/service/texture_manager.cc ('k') | headless/lib/browser/headless_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698