forked from lynx-family/lynx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.gn
More file actions
73 lines (63 loc) · 1.69 KB
/
Copy pathBUILD.gn
File metadata and controls
73 lines (63 loc) · 1.69 KB
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
68
69
70
71
72
73
# Copyright 2024 The Lynx Authors. All rights reserved.
# Licensed under the Apache License Version 2.0 that can be found in the
# LICENSE file in the root directory of this source tree.
import("clay/common/config.gni")
import("config.gni")
group("root") {
testonly = true
deps = [
":default",
":third_party_base_group",
":third_party_trace_group",
]
}
group("default") {
testonly = true
deps = [ "core:lynx_native" ]
if (is_android) {
deps += [ "platform/android:Android" ]
} else if (is_harmony) {
deps += [ "platform/harmony" ]
} else if (is_ios) {
deps += [ "platform/darwin/ios/lynx_service:LynxService" ]
deps += [ "platform/darwin/ios/lynx_service_api:LynxServiceAPI_podspec" ]
deps += [ "platform/darwin/ios/lynx_devtool:devtool_podspec" ]
deps += [ "platform/darwin/ios/lynx_xelement:XElement" ]
deps += [ "platform/darwin/ios:iOS" ]
deps += [ "devtool/base_devtool/darwin/ios:BaseDevtool_podspec" ]
} else if ((is_win || is_mac) && desktop_enable_embedder_layer) {
deps += [ "explorer:explorer" ]
}
if (enable_unittests) {
deps += [ "tools/gn_tools/test:gn_tools_test" ]
}
if (enable_clay) {
deps += [ "clay:standalone_lib" ]
}
}
group("all") {
# lynx core modules
deps = [ "core:lynx_core_native" ]
# testing
if (enable_unittests) {
testonly = true
deps += [ "testing" ]
}
}
group("oliver_group") {
deps = [ "oliver" ]
}
group("third_party_base_group") {
deps = []
testonly = true
if (enable_unittests) {
deps += [ "base/src:base_unittests_exec" ]
}
}
group("third_party_trace_group") {
deps = []
testonly = true
if (enable_unittests) {
deps += [ "base/trace/native:trace_tests" ]
}
}