BUILD.gn 601 B

1234567891011121314151617181920212223242526272829
  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. config("vulkanmemoryallocator_public") {
  6. include_dirs = [ "." ]
  7. }
  8. source_set("vulkanmemoryallocator") {
  9. public_configs = [ ":vulkanmemoryallocator_public" ]
  10. include_dirs = [
  11. "../..",
  12. "../../include/third_party/vulkan",
  13. ]
  14. sources = [
  15. "GrVulkanMemoryAllocator.cpp",
  16. "GrVulkanMemoryAllocator.h",
  17. ]
  18. # Warnings are just noise if we're not maintaining the code.
  19. if (is_win) {
  20. cflags = [ "/w" ]
  21. } else {
  22. cflags = [ "-w" ]
  23. }
  24. }