-
Notifications
You must be signed in to change notification settings - Fork 145
/
Copy pathBUILD.gn
63 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
# 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("//lynx/config.gni")
group("root") {
testonly = true
deps = [
":default",
":third_party_base_group",
":third_party_trace_group",
]
}
group("default") {
testonly = true
deps = [ "//lynx/core:lynx_native" ]
if (is_android) {
deps += [ "//lynx/platform/android:Android" ]
}
if (is_ios) {
deps += [ "//lynx/platform/darwin/ios/lynx_service:LynxService" ]
deps += [ "//lynx/platform/darwin/ios/lynx_devtool:devtool_podspec" ]
deps += [ "//lynx/platform/darwin/ios:iOS" ]
deps += [ "//lynx/devtool/base_devtool/darwin/ios:BaseDevtool_podspec" ]
}
if (enable_unittests) {
deps += [ "//lynx/tools/gn_tools/test:gn_tools_test" ]
}
}
group("all") {
# lynx core modules
deps = [ "//lynx/core:lynx_core_native" ]
# testing
if (enable_unittests) {
testonly = true
deps += [ "//lynx/testing" ]
}
}
group("oliver_group") {
deps = [ "//lynx/oliver" ]
}
group("third_party_base_group") {
deps = []
testonly = true
if (enable_unittests) {
deps += [ "//lynx/base/src:base_unittests_exec" ]
}
}
group("third_party_trace_group") {
deps = []
testonly = true
if (enable_unittests) {
deps += [ "//lynx/base/trace/native:trace_tests" ]
}
}