Skip to content

Commit ec4e88e

Browse files
Clean up AppConfig dependencies
1 parent 4319ab1 commit ec4e88e

6 files changed

+3
-10
lines changed

src/controller/tests/TestEventCaching.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include "app/ConcreteAttributePath.h"
2323
#include "protocols/interaction_model/Constants.h"
2424
#include <app-common/zap-generated/cluster-objects.h>
25-
#include <app/AppConfig.h>
2625
#include <app/BufferedReadCallback.h>
2726
#include <app/CommandHandlerInterface.h>
2827
#include <app/EventLogging.h>

src/controller/tests/TestEventNumberCaching.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "app-common/zap-generated/ids/Clusters.h"
2020
#include "app/ClusterStateCache.h"
2121
#include <app-common/zap-generated/cluster-objects.h>
22-
#include <app/AppConfig.h>
2322
#include <app/BufferedReadCallback.h>
2423
#include <app/CommandHandlerInterface.h>
2524
#include <app/EventLogging.h>

src/controller/tests/TestServerCommandDispatch.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "app-common/zap-generated/ids/Clusters.h"
2727
#include "protocols/interaction_model/Constants.h"
2828
#include <app-common/zap-generated/cluster-objects.h>
29-
#include <app/AppConfig.h>
3029
#include <app/CommandHandlerInterface.h>
3130
#include <app/InteractionModelEngine.h>
3231
#include <app/tests/AppTestContext.h>

src/controller/tests/TestWriteChunking.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "app/ConcreteAttributePath.h"
2222
#include "protocols/interaction_model/Constants.h"
2323
#include <app-common/zap-generated/cluster-objects.h>
24-
#include <app/AppConfig.h>
2524
#include <app/AttributeAccessInterface.h>
2625
#include <app/AttributeAccessInterfaceRegistry.h>
2726
#include <app/CommandHandlerInterface.h>

src/messaging/ReliableMessageContext.cpp

+3-5
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,14 @@
2323

2424
#include <inttypes.h>
2525

26-
#include <messaging/ExchangeContext.h>
27-
#include <messaging/ExchangeMgr.h>
28-
#include <messaging/ReliableMessageContext.h>
29-
30-
#include <app/AppConfig.h>
3126
#include <lib/core/CHIPEncoding.h>
3227
#include <lib/support/CodeUtils.h>
3328
#include <lib/support/Defer.h>
3429
#include <messaging/ErrorCategory.h>
30+
#include <messaging/ExchangeContext.h>
31+
#include <messaging/ExchangeMgr.h>
3532
#include <messaging/Flags.h>
33+
#include <messaging/ReliableMessageContext.h>
3634
#include <messaging/ReliableMessageMgr.h>
3735
#include <platform/PlatformManager.h>
3836
#include <protocols/Protocols.h>

src/platform/BUILD.gn

-1
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@ if (chip_device_platform != "none") {
509509

510510
public_deps = [
511511
":platform_base",
512-
"${chip_root}/src/app:app_config", # TODO: Move into platforms using it
513512
"${chip_root}/src/app/common:cluster-objects",
514513
"${chip_root}/src/crypto",
515514
"${chip_root}/src/lib/support",

0 commit comments

Comments
 (0)