Skip to content

Commit

Permalink
Remove SystemLayerImplLibevent (#19396)
Browse files Browse the repository at this point in the history
#### Problem

The libevent-based implementation of `System::Layer` is unused, untested
in CI, and probably stale. (It was originally written as a sanity check on
System::Layer APIs, chosen as a representative substrate independent of
any active platform.)

#### Change overview

Remove `SystemLayerImplLibevent`.

#### Testing

CI to confirm build edits.
  • Loading branch information
kpschoedel authored Jun 9, 2022
1 parent ac8bdbf commit b943909
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 571 deletions.
3 changes: 0 additions & 3 deletions scripts/tools/check_includes_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@
'src/lib/support/CHIPListUtils.h': {'set'},
'src/platform/DeviceSafeQueue.h': {'queue'},

# libevent itself is unsuitable for small platforms.
'src/system/SystemLayerImplLibevent.h': {'list', 'vector'},

# Only uses <chrono> for zero-cost types.
'src/system/SystemClock.h': {'chrono'},
'src/platform/mbed/MbedEventTimeout.h': {'chrono'},
Expand Down
3 changes: 0 additions & 3 deletions src/system/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,6 @@ static_library("system") {

if (chip_system_config_use_sockets) {
sources += [ "SocketEvents.h" ]
if (chip_system_config_event_loop == "Libevent") {
libs = [ "event" ]
}
}

if (chip_with_nlfaultinjection) {
Expand Down
Loading

0 comments on commit b943909

Please sign in to comment.