Skip to content

Commit

Permalink
Move EventLoggingDelegate.h into app:events gn target (#32912)
Browse files Browse the repository at this point in the history
* Move EventLoggingDelegate to be part of "events" in app.

- Remove unneeded includes from this header
- add dependency to core (due to TLV)

* Restyle
  • Loading branch information
andy31415 authored and pull[bot] committed May 14, 2024
1 parent 4c699d8 commit 3319000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/app/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,14 @@ static_library("interaction-model") {
source_set("events") {
sources = [
"EventHeader.h",
"EventLoggingDelegate.h",
"EventLoggingTypes.h",
]

deps = [
":paths",
"${chip_root}/src/access:types",
"${chip_root}/src/lib/core",
]
}

Expand All @@ -291,7 +293,6 @@ static_library("app") {
"DeferredAttributePersistenceProvider.cpp",
"DeferredAttributePersistenceProvider.h",
"EventLogging.h",
"EventLoggingDelegate.h",
"EventManagement.cpp",
"EventManagement.h",
"FailSafeContext.cpp",
Expand Down
3 changes: 0 additions & 3 deletions src/app/EventLoggingDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@

#pragma once

#include <lib/core/CHIPCore.h>
#include <lib/core/TLV.h>
#include <messaging/ExchangeContext.h>
#include <system/SystemPacketBuffer.h>

namespace chip {
namespace app {
Expand Down

0 comments on commit 3319000

Please sign in to comment.