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/tests/TestMessageDef.cpp b/src/app/tests/TestMessageDef.cpp
index fbd40af..fdae704 100644
--- a/src/app/tests/TestMessageDef.cpp
+++ b/src/app/tests/TestMessageDef.cpp
@@ -22,7 +22,7 @@
*
*/
-#include <app/AppBuildConfig.h>
+#include <app/AppConfig.h>
#include <app/MessageDef/EventFilterIBs.h>
#include <app/MessageDef/EventStatusIB.h>
#include <app/MessageDef/InvokeRequestMessage.h>