Skip to content

Commit

Permalink
ICDHandler initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
thivya-amazon committed Nov 8, 2023
1 parent 91ac8b2 commit 0cfdda6
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions src/app/icd/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,13 @@ source_set("manager") {
sources = [
"ICDManager.cpp",
"ICDManager.h",
"ICDHandler.cpp",
"ICDHandler.h",
]

public_deps = [
":cluster",
":notifier",
":observer",
"${chip_root}/src/credentials:credentials",
"${chip_root}/src/lib/core",
"${chip_root}/src/protocols",
]
}

Expand All @@ -68,3 +64,18 @@ source_set("cluster") {
"${chip_root}/src/protocols:im_status",
]
}

# ICD Handler source-set is broken out of the main source-set to enable unit tests
# All sources and configurations used by the ICDHandler need to go in this source-set
source_set("handler") {
sources = [
"ICDHandler.cpp",
"ICDHandler.h",
]

public_deps = [
"${chip_root}/src/lib/core",
"${chip_root}/src/protocols",
"${chip_root}/src/messaging",
]
}

0 comments on commit 0cfdda6

Please sign in to comment.