forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathBUILD.gn
38 lines (31 loc) · 825 Bytes
/
BUILD.gn
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
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/flutter_vma/config.gni")
source_set("flutter_vma") {
sources = [
"flutter_vma.cc",
"flutter_vma.h",
]
if (disable_vma_stl_shared_mutex) {
defines = [ "VMA_USE_STL_SHARED_MUTEX=0" ]
}
public_deps = [
"//flutter/fml",
"//flutter/third_party/vulkan-deps/vulkan-headers/src:vulkan_headers",
"//flutter/third_party/vulkan_memory_allocator",
]
public_configs = [ "//flutter:config" ]
}
source_set("flutter_skia_vma") {
sources = [
"flutter_skia_vma.cc",
"flutter_skia_vma.h",
]
public_deps = [
":flutter_vma",
"//flutter/fml",
"//flutter/skia",
"//flutter/vulkan/procs",
]
}