forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
61 lines (54 loc) · 1.46 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
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
group("flutter") {
testonly = true
deps = [
"//flutter/lib/snapshot:flutter_patched_sdk",
"//flutter/lib/snapshot:generate_snapshot_bin",
"//flutter/sky",
"//flutter/third_party/txt",
]
if (!is_fuchsia) {
if (current_toolchain == host_toolchain) {
deps += [
"//dart:create_sdk",
"//flutter/frontend_server",
]
}
}
if (is_fuchsia) {
deps += [
"//flutter/content_handler",
"//flutter/content_handler:aot_content_handler",
"//flutter/examples",
"//flutter/flow",
]
}
# If on the host, compile all unittests targets.
if (current_toolchain == host_toolchain) {
if (is_mac) {
deps += [ "//flutter/shell/platform/darwin:flutter_channels_unittests" ]
}
if (!is_win) {
deps += [ "//flutter/shell/platform/embedder:flutter_engine" ]
}
deps += [
"//flutter/flow:flow_unittests",
"//flutter/fml:fml_unittests",
"//flutter/sky/engine/wtf:wtf_unittests",
"//flutter/synchronization:synchronization_unittests",
"//flutter/third_party/txt:txt_benchmarks",
"//flutter/third_party/txt:txt_unittests",
"//garnet/public/lib/ftl:ftl_unittests",
]
}
}
if (!is_fuchsia) {
group("dist") {
testonly = true
deps = [
"//flutter/sky/dist",
]
}
}