Skip to content

Commit

Permalink
Correct dependencies of GlobalAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Jan 31, 2024
1 parent cdd128b commit a91140e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ source_set("global-attributes") {
sources = [ "GlobalAttributes.h" ]

# This also depends on zap-generated code which is currently impossible to split outs
public_deps = [ "${chip_root}/src/lib/support" ]
public_deps = [
":app_config",
"${chip_root}/src/lib/support",
]
}

source_set("pre-encoded-value") {
Expand Down
1 change: 1 addition & 0 deletions src/app/GlobalAttributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#pragma once

#include <app-common/zap-generated/ids/Attributes.h>
#include <app/AppConfig.h>
#include <lib/support/CodeUtils.h>

namespace chip {
Expand Down

0 comments on commit a91140e

Please sign in to comment.