Skip to content

Commit

Permalink
[platform] Add empty platform_base source set (project-chip#34883)
Browse files Browse the repository at this point in the history
* [platform] Add empty platform_base source set

When cross-compiling on Windows, bootstrap would fail
because of some targets that are depending on platform_base
source set, which is not defined for chip_device_platform None.

Signed-off-by: marius-alex-tache <marius.tache@nxp.com>

* Restyled by gn

---------

Signed-off-by: marius-alex-tache <marius.tache@nxp.com>
Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
marius-alex-tache and restyled-commits authored Aug 9, 2024
1 parent 78d4020 commit 304df86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/platform/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,9 @@ if (chip_device_platform != "none") {
group("platform") {
public_deps = [ ":platform_buildconfig" ]
}

source_set("platform_base") {
}
}

source_set("syscalls_stub") {
Expand Down

0 comments on commit 304df86

Please sign in to comment.