Skip to content

Commit

Permalink
Add initial codegen support for Cluster object (#9971)
Browse files Browse the repository at this point in the history
* add initial codegen support for cluster object

* run codegen
  • Loading branch information
yunhanw-google authored Sep 28, 2021
1 parent 8cd1229 commit d2403a0
Show file tree
Hide file tree
Showing 11 changed files with 2,804 additions and 528 deletions.
1 change: 1 addition & 0 deletions src/app/chip_data_model.gni
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ template("chip_data_model") {

public_deps += [
"${chip_root}/src/app",
"${chip_root}/src/app/common:cluster-objects",
"${chip_root}/src/controller",
"${chip_root}/src/lib/core",
"${chip_root}/src/lib/support",
Expand Down
5 changes: 4 additions & 1 deletion src/app/common/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ import("//build_overrides/chip.gni")
static_library("cluster-objects") {
output_name = "libClusterObjects"

sources = [ "cluster-objects.cpp" ]
sources = [
"${chip_root}/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp",
"${chip_root}/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h",
]

public_deps = [
"${chip_root}/src/app",
Expand Down
358 changes: 0 additions & 358 deletions src/app/common/cluster-objects.cpp

This file was deleted.

Loading

0 comments on commit d2403a0

Please sign in to comment.