blob: cf64e2b57e7280b5b72ccea0eb366b988a57553f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 2018 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../third_party.gni")
third_party("vulkanmemoryallocator") {
public_include_dirs = [ "./" ]
include_dirs = []
if (defined(is_skia_standalone) && is_skia_standalone && !is_official_build) {
include_dirs += [ "../../tools/gpu/vk" ]
include_dirs += [ "../../include/core" ]
include_dirs += [ "../../include/config" ]
}
# TODO: As described in the main skia BUILD.gn file we eventually want to move this to be
# //third_party/vulkan once clients have created their own //third_party/vulkan directory.
deps = [
"../vulkan",
]
sources = [
"GrVulkanMemoryAllocator.cpp",
"GrVulkanMemoryAllocator.h",
]
}
|