2018-05-29 14:46:51 +00:00
|
|
|
# Copyright 2018 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
config("vulkanmemoryallocator_public") {
|
|
|
|
include_dirs = [ "." ]
|
|
|
|
}
|
|
|
|
|
|
|
|
source_set("vulkanmemoryallocator") {
|
|
|
|
public_configs = [ ":vulkanmemoryallocator_public" ]
|
|
|
|
|
2018-12-11 22:03:39 +00:00
|
|
|
include_dirs = [ "../../include/third_party/vulkan" ]
|
2018-08-01 13:23:57 +00:00
|
|
|
|
2018-05-29 14:46:51 +00:00
|
|
|
sources = [
|
|
|
|
"GrVulkanMemoryAllocator.cpp",
|
|
|
|
"GrVulkanMemoryAllocator.h",
|
|
|
|
]
|
|
|
|
|
|
|
|
# Warnings are just noise if we're not maintaining the code.
|
|
|
|
if (is_win) {
|
|
|
|
cflags = [ "/w" ]
|
|
|
|
} else {
|
|
|
|
cflags = [ "-w" ]
|
|
|
|
}
|
|
|
|
}
|