From 25ed354dd91580e3c71792a67e6f50f05042e421 Mon Sep 17 00:00:00 2001 From: Thivya Ashokkumar Date: Wed, 29 Nov 2023 15:38:49 -0800 Subject: [PATCH] ICDHandler initialization --- src/app/icd/BUILD.gn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/app/icd/BUILD.gn b/src/app/icd/BUILD.gn index b19384c2e41047..6e894ff0094025 100644 --- a/src/app/icd/BUILD.gn +++ b/src/app/icd/BUILD.gn @@ -115,3 +115,18 @@ source_set("configuration-data") { "${chip_root}/src/lib/core", ] } + +# 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/messaging", + "${chip_root}/src/protocols", + ] +} \ No newline at end of file