Add #if CHIP_HAVE_CONFIG around *BuildConfig headers (#21169)
* Add #if CHIP_HAVE_CONFIG around *BuildConfig headers
find ./ -name "*.h" -o -name "*.cpp" -exec sed -i "s/\(#include <app\/AppBuildConfig\.h>\)/#if CHIP_HAVE_CONFIG_H\n\1\n#endif/g" {} +
Manually for a few instances of CHIPDeviceBuildConfig.h and
CHIPAdditionalDataPayloadBuildConfig.h
* Add AppConfig.h and move build config check in there
Reverted #if CHIP_HAVE_CONFIG and replaced includes:
find ./ -name "*.h" -o -name "*.cpp" -exec sed -i "s/\(#include <app\/AppBuildConfig\.h>\)/#include <app\/AppConfig\.h>/g" {} +
* Restyled by gn
Co-authored-by: Restyled.io <commits@restyled.io>diff --git a/src/app/MessageDef/AttributeDataIBs.cpp b/src/app/MessageDef/AttributeDataIBs.cpp
index fdb9f57..f0068a8 100644
--- a/src/app/MessageDef/AttributeDataIBs.cpp
+++ b/src/app/MessageDef/AttributeDataIBs.cpp
@@ -29,7 +29,7 @@
#include <stdarg.h>
#include <stdio.h>
-#include <app/AppBuildConfig.h>
+#include <app/AppConfig.h>
using namespace chip;
using namespace chip::TLV;