Skip to content

Commit 9456bf8

Browse files
committed
Update lighting app build configuration to define a target for unified builds without unique ID and remove it from extra build dependencies to prevent conflicts.
1 parent 7e95208 commit 9456bf8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

BUILD.gn

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -660,14 +660,14 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
660660
]
661661
}
662662

663+
# Define target for lighting app with no unique ID (for unified builds)
664+
# Note: NOT added to extra_build_deps to avoid conflicts with regular lighting-app
665+
# when both are built in the same unified directory
663666
group("linux_lighting_app_no_unique_id") {
664667
deps = [ "${chip_root}/examples/lighting-app-data-mode-no-unique-id/linux(${standalone_toolchain})" ]
665668
}
666669

667-
extra_build_deps += [
668-
":linux_lighting_app",
669-
":linux_lighting_app_no_unique_id",
670-
]
670+
extra_build_deps += [ ":linux_lighting_app" ]
671671
}
672672

673673
if (enable_linux_lock_app_build) {

0 commit comments

Comments
 (0)