CMake: Move events stubs sources to the mbed-os/events directory

Move the events stub into the events component directory.
so we can avoid duplicating the mbed-os source tree in a central
UNITTESTS folder.
pull/14823/head
Rajkumar Kanagaraj 2021-06-23 07:21:39 -07:00
parent 8a507e651e
commit 88410a5f85
8 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,6 @@ target_include_directories(mbed-stubs-headers
)
add_subdirectory(connectivity)
add_subdirectory(events)
add_library(mbed-stubs INTERFACE)

View File

@ -1,4 +1,5 @@
# Copyright (c) 2021 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
add_subdirectory(doubles)
add_subdirectory(equeue)

View File

@ -6,7 +6,7 @@ add_library(mbed-stubs-events)
target_sources(mbed-stubs-events
PRIVATE
equeue_stub.c
${mbed-os_SOURCE_DIR}/events/tests/UNITTESTS/stubs/EqueuePosix_stub.c
EqueuePosix_stub.c
EventFlags_stub.cpp
EventQueue_stub.cpp
mbed_shared_queues_stub.cpp