aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-06-15 13:21:58 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-15 17:51:05 +0000
commite287a94d24c0f948650516369cc992aece186652 (patch)
tree458a7890b7b34093713e02a37c3c04f919e5bf4c /third_party
parent2f6e0696dba69a56a4184b7643f9561b30b837f9 (diff)
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>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/vulkanmemoryallocator/BUILD.gn5
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/vulkanmemoryallocator/BUILD.gn b/third_party/vulkanmemoryallocator/BUILD.gn
index 946cdb7b1a..796330ed7f 100644
--- a/third_party/vulkanmemoryallocator/BUILD.gn
+++ b/third_party/vulkanmemoryallocator/BUILD.gn
@@ -10,10 +10,11 @@ config("vulkanmemoryallocator_public") {
source_set("vulkanmemoryallocator") {
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) {
include_dirs += [ "../../tools/gpu/vk" ]
- include_dirs += [ "../../include/core" ]
include_dirs += [ "../../include/config" ]
}