Skip to content

Commit

Permalink
Add orphan files in src/transport to gn (#31878)
Browse files Browse the repository at this point in the history
* Add UDPTransportManager to dependencies.

* Add two more orphaned transport files to gn
  • Loading branch information
andy31415 authored and pull[bot] committed Jun 19, 2024
1 parent f6d8f28 commit 4a00e89
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/transport/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ static_library("transport") {
"SessionManager.h",
"SessionMessageCounter.h",
"SessionMessageDelegate.h",
"SessionUpdateDelegate.h",
"TracingStructs.h",
"TransportMgr.h",
"TransportMgrBase.cpp",
Expand All @@ -70,7 +71,10 @@ static_library("transport") {
]

if (chip_enable_transport_trace) {
sources += [ "TraceMessage.cpp" ]
sources += [
"TraceMessage.cpp",
"TraceMessage.h",
]
}
if (chip_enable_transport_pw_trace) {
public_deps += [ "$dir_pw_trace" ]
Expand Down
5 changes: 4 additions & 1 deletion src/transport/tests/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ import("//build_overrides/nlunit_test.gni")
import("${chip_root}/build/chip/chip_test_suite.gni")

source_set("helpers") {
sources = [ "LoopbackTransportManager.h" ]
sources = [
"LoopbackTransportManager.h",
"UDPTransportManager.h",
]

public_deps = [
"${chip_root}/src/transport:transport",
Expand Down

0 comments on commit 4a00e89

Please sign in to comment.