Add to include path for vulkan memory allocator so SkTypes can be found.
Bug: skia: Change-Id: Ie55dbd478f2d31bf2a89b5ea18ed0415f549c542 Reviewed-on: https://skia-review.googlesource.com/135261 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
This commit is contained in:
parent
2f6e0696db
commit
e287a94d24
5
third_party/vulkanmemoryallocator/BUILD.gn
vendored
5
third_party/vulkanmemoryallocator/BUILD.gn
vendored
@ -10,10 +10,11 @@ config("vulkanmemoryallocator_public") {
|
|||||||
source_set("vulkanmemoryallocator") {
|
source_set("vulkanmemoryallocator") {
|
||||||
public_configs = [ ":vulkanmemoryallocator_public" ]
|
public_configs = [ ":vulkanmemoryallocator_public" ]
|
||||||
|
|
||||||
include_dirs = []
|
# Need to add this so when we include GrVkDefines.h it internally can find SkTypes.h which is
|
||||||
|
# needed in case the user set defines in SkUserConfig.h.
|
||||||
|
include_dirs = [ "../../include/core" ]
|
||||||
if (defined(is_skia_standalone) && is_skia_standalone && !is_official_build) {
|
if (defined(is_skia_standalone) && is_skia_standalone && !is_official_build) {
|
||||||
include_dirs += [ "../../tools/gpu/vk" ]
|
include_dirs += [ "../../tools/gpu/vk" ]
|
||||||
include_dirs += [ "../../include/core" ]
|
|
||||||
include_dirs += [ "../../include/config" ]
|
include_dirs += [ "../../include/config" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user