Skip to content

Commit a9e3b0a

Browse files
authored
Move EventLoggingDelegate.h into app:events gn target (project-chip#32912)
* Move EventLoggingDelegate to be part of "events" in app. - Remove unneeded includes from this header - add dependency to core (due to TLV) * Restyle
1 parent bc9fc76 commit a9e3b0a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/app/BUILD.gn

+2-1
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,14 @@ static_library("interaction-model") {
260260
source_set("events") {
261261
sources = [
262262
"EventHeader.h",
263+
"EventLoggingDelegate.h",
263264
"EventLoggingTypes.h",
264265
]
265266

266267
deps = [
267268
":paths",
268269
"${chip_root}/src/access:types",
270+
"${chip_root}/src/lib/core",
269271
]
270272
}
271273

@@ -291,7 +293,6 @@ static_library("app") {
291293
"DeferredAttributePersistenceProvider.cpp",
292294
"DeferredAttributePersistenceProvider.h",
293295
"EventLogging.h",
294-
"EventLoggingDelegate.h",
295296
"EventManagement.cpp",
296297
"EventManagement.h",
297298
"FailSafeContext.cpp",

src/app/EventLoggingDelegate.h

-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323

2424
#pragma once
2525

26-
#include <lib/core/CHIPCore.h>
2726
#include <lib/core/TLV.h>
28-
#include <messaging/ExchangeContext.h>
29-
#include <system/SystemPacketBuffer.h>
3027

3128
namespace chip {
3229
namespace app {

0 commit comments

Comments
 (0)