Skip to content

Commit cfd1551

Browse files
authored
Correct dependencies of GlobalAttributes (project-chip#31798)
* Correct dependencies of GlobalAttributes * Fix comment
1 parent d27d65e commit cfd1551

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/app/BUILD.gn

+6-2
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,12 @@ source_set("paths") {
9797
source_set("global-attributes") {
9898
sources = [ "GlobalAttributes.h" ]
9999

100-
# This also depends on zap-generated code which is currently impossible to split outs
101-
public_deps = [ "${chip_root}/src/lib/support" ]
100+
# This also depends on zap-generated code which is currently impossible to split out
101+
# as a dependency
102+
public_deps = [
103+
":app_config",
104+
"${chip_root}/src/lib/support",
105+
]
102106
}
103107

104108
source_set("pre-encoded-value") {

src/app/GlobalAttributes.h

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#pragma once
1919

2020
#include <app-common/zap-generated/ids/Attributes.h>
21+
#include <app/AppConfig.h>
2122
#include <lib/support/CodeUtils.h>
2223

2324
namespace chip {

0 commit comments

Comments
 (0)