Allow buildroot to specify location of vulkan_memory_allocator

Change-Id: I6dab23fbd4d663e4031e3c6f568471f266f26936
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/547016
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
This commit is contained in:
Dan Field 2022-06-03 20:43:40 -07:00 committed by SkCQ
parent abeba7e6ce
commit 84a7d44d4b
2 changed files with 3 additions and 1 deletions

View File

@ -131,6 +131,8 @@ declare_args() {
skia_enable_direct3d_debug_layer = skia_enable_gpu_debug_layers
skia_enable_metal_debug_info = skia_enable_gpu_debug_layers
skia_use_vma = skia_use_vulkan
skia_vulkan_memory_allocator_dir =
"//third_party/externals/vulkanmemoryallocator"
skia_build_for_debugger = false
}

View File

@ -8,7 +8,7 @@ import("../../gn/skia.gni")
config("vulkanmemoryallocator_public") {
include_dirs = [
".",
"//third_party/externals/vulkanmemoryallocator/include",
"$skia_vulkan_memory_allocator_dir/include",
]
}