forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
59 lines (49 loc) · 1.24 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# 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/common/config.gni")
import("//flutter/shell/config.gni")
gpu_common_deps = [
"//flutter/common",
"//flutter/common/graphics",
"//flutter/flow",
"//flutter/fml",
"//flutter/shell/common",
"//third_party/skia",
]
source_set("gpu_surface_software") {
sources = [
"gpu_surface_software.cc",
"gpu_surface_software.h",
"gpu_surface_software_delegate.cc",
"gpu_surface_software_delegate.h",
]
deps = gpu_common_deps
}
source_set("gpu_surface_gl") {
sources = [
"gpu_surface_gl.cc",
"gpu_surface_gl.h",
"gpu_surface_gl_delegate.cc",
"gpu_surface_gl_delegate.h",
]
deps = gpu_common_deps
}
source_set("gpu_surface_vulkan") {
sources = [
"gpu_surface_vulkan.cc",
"gpu_surface_vulkan.h",
"gpu_surface_vulkan_delegate.cc",
"gpu_surface_vulkan_delegate.h",
]
deps = gpu_common_deps + [ "//flutter/vulkan" ]
}
source_set("gpu_surface_metal") {
sources = [
"gpu_surface_metal.h",
"gpu_surface_metal.mm",
"gpu_surface_metal_delegate.cc",
"gpu_surface_metal_delegate.h",
]
deps = gpu_common_deps
}