Skip to content

Commit

Permalink
merge controller-dynamic back into interaction model
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Jan 23, 2024
1 parent b13c90e commit 281b0cd
Showing 1 changed file with 14 additions and 19 deletions.
33 changes: 14 additions & 19 deletions src/app/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -184,23 +184,6 @@ config("config-controller-dynamic-server") {
]
}

source_set("controller-dynamic-server") {
sources = [
"clusters/ota-provider/ota-provider.cpp",
"dynamic_server/AccessControl.cpp",
"dynamic_server/AccessControl.h",
"dynamic_server/DynamicDispatcher.cpp",
]

public_deps = [
":global-attributes",
":interaction-model",
"${chip_root}/src/access",
]

public_configs = [ ":config-controller-dynamic-server" ]
}

source_set("interaction-model") {
sources = [
"CASEClient.cpp",
Expand Down Expand Up @@ -255,10 +238,22 @@ source_set("interaction-model") {
"${chip_root}/src/system",
]

deps = []
public_configs = []

if (chip_build_controller_dynamic_server) {
public_deps += [ ":controller-dynamic-server" ]
sources += [
"clusters/ota-provider/ota-provider.cpp",
"dynamic_server/AccessControl.cpp",
"dynamic_server/AccessControl.h",
"dynamic_server/DynamicDispatcher.cpp",
]

public_deps += [
":global-attributes",
"${chip_root}/src/access",
]

public_configs += [ ":config-controller-dynamic-server" ]
}
}

Expand Down

0 comments on commit 281b0cd

Please sign in to comment.