1# Copyright 2018 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6config("vulkanmemoryallocator_public") {
7  include_dirs = [ "." ]
8}
9
10source_set("vulkanmemoryallocator") {
11  public_configs = [ ":vulkanmemoryallocator_public" ]
12
13  include_dirs = [
14    "../..",
15    "../../include/third_party/vulkan",
16  ]
17
18  sources = [
19    "GrVulkanMemoryAllocator.cpp",
20    "GrVulkanMemoryAllocator.h",
21  ]
22
23  # Warnings are just noise if we're not maintaining the code.
24  if (is_win) {
25    cflags = [ "/w" ]
26  } else {
27    cflags = [ "-w" ]
28  }
29}
30