From a9fc5a369927d5d1258bfd8db207c67016990bae Mon Sep 17 00:00:00 2001 From: Junior Martinez Date: Sat, 13 Aug 2022 01:23:03 -0400 Subject: [PATCH] Fix wifi build --- third_party/silabs/BUILD.gn | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/third_party/silabs/BUILD.gn b/third_party/silabs/BUILD.gn index 5c5de855043a1b..f847171e020902 100644 --- a/third_party/silabs/BUILD.gn +++ b/third_party/silabs/BUILD.gn @@ -31,12 +31,14 @@ group("efr32_sdk") { public_deps = [ efr32_sdk_target ] } -group("openthread_cli") { - if (use_silabs_thread_lib == false) { - if (chip_openthread_ftd) { - public_deps = [ "${sl_openthread_root}:libopenthread-cli-ftd" ] - } else { - public_deps = [ "${sl_openthread_root}:libopenthread-cli-mtd" ] +if (chip_enable_openthread) { + group("openthread_cli") { + if (use_silabs_thread_lib == false) { + if (chip_openthread_ftd) { + public_deps = [ "${sl_openthread_root}:libopenthread-cli-ftd" ] + } else { + public_deps = [ "${sl_openthread_root}:libopenthread-cli-mtd" ] + } } } }