Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Constants.h to the secure_channel sources. #28219

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/protocols/secure_channel/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ static_library("secure_channel") {
"CASEServer.h",
"CASESession.cpp",
"CASESession.h",
"Constants.h",
"DefaultSessionResumptionStorage.cpp",
"DefaultSessionResumptionStorage.h",
"PASESession.cpp",
Expand Down Expand Up @@ -38,5 +39,18 @@ static_library("secure_channel") {
"${chip_root}/src/system",
"${chip_root}/src/tracing",
"${chip_root}/src/tracing:macros",
"${chip_root}/src/transport",
]

# secure channel requires messaging so it can send messages (e.g. for
# CASE/PASE handshakes). messaging requires secure channel so that it can do
# things like send standalone acks, which are a secure channel concept.
#
# secure channel requires transport so it can deal with sessions. transport
# requires secure channel so it can detect control messages, which are a
# secure channel concept.
allow_circular_includes_from = [
"${chip_root}/src/messaging",
"${chip_root}/src/transport",
]
}