From acd7eacde97fae189cfca9af57ab98c19cd74b0a Mon Sep 17 00:00:00 2001 From: Jakub Latusek Date: Thu, 18 Jan 2024 17:35:20 +0100 Subject: [PATCH] Add default target to example projects (#31510) * Add default target to chip-shell * bridge-app fix * Add dependencies to default group for minimal-mdns --- examples/bridge-app/linux/BUILD.gn | 4 ++++ examples/minimal-mdns/BUILD.gn | 9 +++++++++ examples/shell/standalone/BUILD.gn | 4 ++++ 3 files changed, 17 insertions(+) diff --git a/examples/bridge-app/linux/BUILD.gn b/examples/bridge-app/linux/BUILD.gn index 3912e887a846be..490c59d17ad6b1 100644 --- a/examples/bridge-app/linux/BUILD.gn +++ b/examples/bridge-app/linux/BUILD.gn @@ -44,3 +44,7 @@ executable("chip-bridge-app") { group("linux") { deps = [ ":chip-bridge-app" ] } + +group("default") { + deps = [ ":chip-bridge-app" ] +} diff --git a/examples/minimal-mdns/BUILD.gn b/examples/minimal-mdns/BUILD.gn index a60dc611990b74..372f5598339168 100644 --- a/examples/minimal-mdns/BUILD.gn +++ b/examples/minimal-mdns/BUILD.gn @@ -76,3 +76,12 @@ executable("mdns-advertiser") { output_dir = root_out_dir } + +group("default") { + deps = [ + ":mdns-advertiser", + ":minimal-mdns-client", + ":minimal-mdns-example-common", + ":minimal-mdns-server", + ] +} diff --git a/examples/shell/standalone/BUILD.gn b/examples/shell/standalone/BUILD.gn index 0602af47bb691a..cfa97b10f7c63d 100644 --- a/examples/shell/standalone/BUILD.gn +++ b/examples/shell/standalone/BUILD.gn @@ -39,3 +39,7 @@ executable("chip-shell") { group("standalone") { deps = [ ":chip-shell" ] } + +group("default") { + deps = [ ":chip-shell" ] +}