Skip to content

Commit 08cb38b

Browse files
shaoltan-amazonhasty
authored andcommitted
Fix simplified Linux tv-casting-app gn build error. (project-chip#34692)
1 parent 9351279 commit 08cb38b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/tv-casting-app/linux/BUILD.gn

+6-4
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,12 @@ executable("chip-tv-casting-app") {
5858

5959
if (chip_build_libshell) {
6060
defines += [ "ENABLE_CHIP_SHELL" ]
61-
sources += [
62-
"CastingShellCommands.cpp",
63-
"CastingShellCommands.h",
64-
]
61+
if (!chip_casting_simplified) {
62+
sources += [
63+
"CastingShellCommands.cpp",
64+
"CastingShellCommands.h",
65+
]
66+
}
6567
}
6668

6769
output_dir = root_out_dir

0 commit comments

Comments
 (0)