add dcsctp build target
to the toplevel build. This allows building dcsctp as a standalone library with a minimal set of dependencies. BUG=None Change-Id: I423c16cacf276068369980f0906abec76c65be5a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/236760 Reviewed-by: Victor Boivie <boivie@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Florent Castelli <orphis@webrtc.org> Commit-Queue: Florent Castelli <orphis@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36422}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
61a8e018e3
commit
c128277f56
18
BUILD.gn
18
BUILD.gn
@ -720,6 +720,24 @@ if (rtc_include_tests && !build_with_chromium) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Build target for standalone dcsctp
|
||||||
|
rtc_static_library("dcsctp") {
|
||||||
|
# Only the root target should depend on this.
|
||||||
|
visibility = [ "//:default" ]
|
||||||
|
sources = []
|
||||||
|
complete_static_lib = true
|
||||||
|
suppressed_configs += [ "//build/config/compiler:thin_archive" ]
|
||||||
|
defines = []
|
||||||
|
deps = [
|
||||||
|
"net/dcsctp/public:factory",
|
||||||
|
"net/dcsctp/public:socket",
|
||||||
|
"net/dcsctp/public:types",
|
||||||
|
"net/dcsctp/socket:dcsctp_socket",
|
||||||
|
"net/dcsctp/timer:task_queue_timeout",
|
||||||
|
"rtc_base",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
# ---- Poisons ----
|
# ---- Poisons ----
|
||||||
#
|
#
|
||||||
# Here is one empty dummy target for each poison type (needed because
|
# Here is one empty dummy target for each poison type (needed because
|
||||||
|
|||||||
Reference in New Issue
Block a user