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 Feb 2, 2024
1 parent 69f96f7 commit 0421b8f
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 0421b8f

Please sign in to comment.