Skip to content

Commit

Permalink
Ensure we match supaths: use star globbing for file names
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Feb 28, 2024
1 parent b2dcdf3 commit 7020b79
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/app/chip_data_model.gni
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ template("chip_data_model") {
source_set("${_data_model_name}-endpoint-metadata") {
sources = filter_include(
get_target_outputs(":${_data_model_name}_codegen_generate"),
[ "\bPluginApplicationCallbacks.h" ])
[ "*\bPluginApplicationCallbacks.h" ])
sources += filter_include(
get_target_outputs(":${_data_model_name}_zapgen_generate"),
[
"\baccess.h",
"\bendpoint_config.h",
"\bgen_config.h",
"*\baccess.h",
"*\bendpoint_config.h",
"*\bgen_config.h",
])

deps = [
Expand All @@ -131,8 +131,8 @@ template("chip_data_model") {
sources = filter_include(
get_target_outputs(":${_data_model_name}_codegen_generate"),
[
"\bcallback-stup.cpp",
"\bcluster-init-callback.cpp",
"*\bcallback-stup.cpp",
"*\bcluster-init-callback.cpp",
])

deps = [
Expand Down

0 comments on commit 7020b79

Please sign in to comment.