From 799934269daa5b51420c61ebb882f05215a2424e Mon Sep 17 00:00:00 2001 From: Junior Martinez <67972863+jmartinez-silabs@users.noreply.github.com> Date: Tue, 29 Nov 2022 08:30:31 -0500 Subject: [PATCH] Fix path for matter_shell.cpp. Was wrong since last week Silabs folder restructure (#23785) --- examples/platform/silabs/efr32/BUILD.gn | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/examples/platform/silabs/efr32/BUILD.gn b/examples/platform/silabs/efr32/BUILD.gn index dbd8473a6c89de..f2ffefb77eed62 100644 --- a/examples/platform/silabs/efr32/BUILD.gn +++ b/examples/platform/silabs/efr32/BUILD.gn @@ -18,6 +18,8 @@ import("${chip_root}/src/lib/lib.gni") import("${chip_root}/src/platform/device.gni") import("${efr32_sdk_build_root}/efr32_sdk.gni") +silabs_common_plat_dir = "${chip_root}/examples/platform/silabs" + config("chip_examples_project_config") { include_dirs = [ "project_include" ] @@ -60,8 +62,11 @@ source_set("efr-matter-shell") { if (chip_build_libshell) { defines = [ "ENABLE_CHIP_SHELL" ] - sources = [ "matter_shell.cpp" ] - include_dirs = [ "." ] + sources = [ "${silabs_common_plat_dir}/matter_shell.cpp" ] + include_dirs = [ + ".", + "${silabs_common_plat_dir}", + ] public_deps = [ "${chip_root}/examples/shell/shell_common:shell_common", @@ -82,8 +87,8 @@ config("attestation-credentials-config") { source_set("efr32-attestation-credentials") { sources = [ - "../SilabsDeviceAttestationCreds.cpp", - "../SilabsDeviceAttestationCreds.h", + "${silabs_common_plat_dir}/SilabsDeviceAttestationCreds.cpp", + "${silabs_common_plat_dir}/SilabsDeviceAttestationCreds.h", ] public_deps = [