-
Notifications
You must be signed in to change notification settings - Fork 38
/
BUILD.gn
45 lines (40 loc) · 1.21 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
#
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import("//build/options.gni")
import("//build/ten_runtime/options.gni")
import("//build/ten_runtime/ten.gni")
import("//build/ten_utils/options.gni")
# When you want to get the output of the console in real time, you can use this
# pool.
pool("serialized_action_pool") {
depth = 1
}
# Since `cargo build` can consume a significant amount of disk space, it is
# necessary to limit the concurrency of `cargo build` in certain build
# environments (e.g., CI) to manage disk space requirements.
pool("rust_action_pool") {
depth = 1
}
group("ten_framework_all") {
deps = [
"//core/src/ten_runtime",
"//core/src/ten_runtime/binding",
"//core/src/ten_rust",
"//packages/core_apps",
"//packages/core_extensions",
"//packages/core_protocols",
"//packages/example_apps",
"//packages/example_extensions",
"//third_party",
]
if (ten_enable_ten_manager) {
deps += [ "//core/src/ten_manager" ]
}
if (ten_enable_tests) {
deps += [ "//tests" ]
}
}