-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a dependency cycle in DefaultStorageKeyAllocator.h (#21794)
* Fix a dependency cycle in DefaultStorageKeyAllocator.h When using SDK with a build system that disallows build graph dependencies and enforces explicit dependencies being always included, the DefaultStorageKeyAllocator's dependency on IM-layer headers and absence from BUILD.gn mean that a cycle that could have been detected by GN is not detected in Matter SDK, but detected by the build. This PR: - Adds DefaultStorageKeyAllocator.h to the correct dependency graph - Removes a cycle from `app/ConcreteAttributePath.h` - Fixes-up DefaultStorageKeyAllocator to work after the cycle is broken Testing done: - Cert tests pass - Unit tests pass * Restyle
- Loading branch information
1 parent
38f3ebc
commit 6322b8d
Showing
3 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters