change the default gn target to include vma.cpp
Bug: 1170339
Change-Id: Ic89eea04e04b4e0548866ebbd24a9e492dde8164
diff --git a/BUILD.gn b/BUILD.gn
index d8b461c..495bf9c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -27,14 +27,7 @@
]
}
-# TODO: remove this target when chrome and ANGLE are updated to use
-# vulkan_memory_allocator_with_usage
source_set("vulkan_memory_allocator") {
- sources = [ "src/vk_mem_alloc.h" ]
- public_configs = [ ":vulkan_memory_allocator_config" ]
-}
-
-source_set("vulkan_memory_allocator_with_usage") {
sources = [
"src/vk_mem_alloc.h",
"vma.cpp",
@@ -42,3 +35,9 @@
deps = [ "//third_party/vulkan-deps/vulkan-headers/src:vulkan_headers" ]
public_configs = [ ":vulkan_memory_allocator_config" ]
}
+
+# TODO: remove this target when chrome and ANGLE are updated to use
+# vulkan_memory_allocator
+source_set("vulkan_memory_allocator_with_usage") {
+ public_deps = [ ":vulkan_memory_allocator" ]
+}