forked from TEN-framework/ten-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.gn
More file actions
38 lines (32 loc) · 832 Bytes
/
Copy pathBUILD.gn
File metadata and controls
38 lines (32 loc) · 832 Bytes
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
#
# Copyright © 2025 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/ten_runtime/feature/cmake.gni")
import("//build/ten_runtime/options.gni")
config("third_party_config") {
cflags = []
if (!is_win) {
cflags += [
"-Wno-stringop-overflow",
"-Wno-cast-function-type",
"-Wno-error=conversion",
]
}
}
group("third_party") {
deps = [ "googletest:googletest_system_package" ]
public_deps = [
"msgpack:msgpackc",
"nlohmann_json",
"yyjson",
]
if (ten_enable_libwebsockets) {
public_deps += [ "libwebsockets" ]
}
if (ten_enable_ffmpeg_extensions) {
public_deps += [ "ffmpeg" ]
}
}