forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
67 lines (54 loc) · 1.39 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
60
61
62
63
64
65
66
67
# 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.
source_set("testing_lib") {
testonly = true
sources = [
"$flutter_root/testing/assertions.h",
"$flutter_root/testing/testing.cc",
"$flutter_root/testing/testing.h",
]
public_deps = [
"$flutter_root/fml",
"//third_party/googletest:gtest",
]
public_configs = [ "$flutter_root:config" ]
}
source_set("testing") {
testonly = true
sources = [
"$flutter_root/testing/run_all_unittests.cc",
"$flutter_root/testing/thread_test.cc",
"$flutter_root/testing/thread_test.h",
]
public_deps = [
":testing_lib",
]
}
source_set("dart") {
testonly = true
sources = [
"$flutter_root/testing/test_dart_native_resolver.cc",
"$flutter_root/testing/test_dart_native_resolver.h",
]
public_deps = [
":testing",
"$flutter_root/runtime:libdart",
"//third_party/tonic",
]
}
if (current_toolchain == host_toolchain) {
source_set("opengl") {
testonly = true
configs += [ "//third_party/swiftshader_flutter:swiftshader_config" ]
sources = [
"$flutter_root/testing/test_gl_surface.cc",
"$flutter_root/testing/test_gl_surface.h",
]
deps = [
"$flutter_root/fml",
"//third_party/skia",
"//third_party/swiftshader_flutter:swiftshader",
]
}
}