Skip to content

Commit

Permalink
Restyled by gn
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and Thirsrin committed Jun 20, 2023
1 parent 6fe9da6 commit f292783
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions examples/lock-app/silabs/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ silabs_executable("lock_app") {
]
if (enable_dic) {
sources += [ "${examples_common_plat_dir}/DIC/matter_abs_interface/src/DIC_EventHandler.cpp" ]
include_dirs +=[ "${examples_common_plat_dir}/DIC/matter_abs_interface/include"]
include_dirs +=
[ "${examples_common_plat_dir}/DIC/matter_abs_interface/include" ]
}
if (chip_build_libshell) {
sources += [ "src/EventHandlerLibShell.cpp" ]
Expand Down Expand Up @@ -207,8 +208,8 @@ silabs_executable("lock_app") {
]
}

if (enable_dic){
deps += [ "${examples_plat_dir}:efr32-dic" ]
if (enable_dic) {
deps += [ "${examples_plat_dir}:efr32-dic" ]
}

output_dir = root_out_dir
Expand Down
7 changes: 4 additions & 3 deletions examples/thermostat/silabs/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ silabs_executable("thermostat_app") {

if (enable_dic) {
sources += [ "${examples_common_plat_dir}/DIC/matter_abs_interface/src/DIC_EventHandler.cpp" ]
include_dirs +=[ "${examples_common_plat_dir}/DIC/matter_abs_interface/include"]
include_dirs +=
[ "${examples_common_plat_dir}/DIC/matter_abs_interface/include" ]
}

if (use_temp_sensor) {
Expand Down Expand Up @@ -235,8 +236,8 @@ silabs_executable("thermostat_app") {
]
}

if (enable_dic){
deps += [ "${examples_plat_dir}:efr32-dic" ]
if (enable_dic) {
deps += [ "${examples_plat_dir}:efr32-dic" ]
}

output_dir = root_out_dir
Expand Down
7 changes: 4 additions & 3 deletions examples/window-app/silabs/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ silabs_executable("window_app") {

if (enable_dic) {
sources += [ "${examples_common_plat_dir}/DIC/matter_abs_interface/src/DIC_EventHandler.cpp" ]
include_dirs +=[ "${examples_common_plat_dir}/DIC/matter_abs_interface/include"]
include_dirs +=
[ "${examples_common_plat_dir}/DIC/matter_abs_interface/include" ]
}

if (!disable_lcd) {
Expand Down Expand Up @@ -152,8 +153,8 @@ silabs_executable("window_app") {
]
}

if (enable_dic){
deps += [ "${examples_plat_dir}:efr32-dic" ]
if (enable_dic) {
deps += [ "${examples_plat_dir}:efr32-dic" ]
}
}

Expand Down

0 comments on commit f292783

Please sign in to comment.