Skip to content

Commit

Permalink
Fix simplified Linux tv-casting-app gn build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
shaoltan-amazon committed Jul 31, 2024
1 parent 6c09236 commit 960a647
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions examples/tv-casting-app/linux/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ executable("chip-tv-casting-app") {

if (chip_build_libshell) {
defines += [ "ENABLE_CHIP_SHELL" ]
sources += [
"CastingShellCommands.cpp",
"CastingShellCommands.h",
]
if (!chip_casting_simplified) {
sources += [
"CastingShellCommands.cpp",
"CastingShellCommands.h",
]
}
}

output_dir = root_out_dir
Expand Down

0 comments on commit 960a647

Please sign in to comment.