[libc][NFC] Cleanup dependencies in src/signal and test/src/signal.

Reviewers: abrachet

Differential Revision: https://reviews.llvm.org/D78585
This commit is contained in:
Siva Chandra Reddy 2020-04-21 09:58:12 -07:00
parent 1f48e22df8
commit c08af2c11a
3 changed files with 7 additions and 12 deletions

View File

@ -38,10 +38,10 @@ add_entrypoint_object(
../sigaction.h
DEPENDS
.__restore
.raise
libc.config.linux.linux_syscall_h
libc.include.signal
libc.include.sys_syscall
libc.src.errno.__errno_location
)
add_entrypoint_object(

View File

@ -18,11 +18,10 @@ add_libc_unittest(
SRCS
sigaction_test.cpp
DEPENDS
libc.src.signal.sigaction
libc.src.signal.raise
libc.include.signal
libc.include.errno
libc.src.errno.__errno_location
libc.include.signal
libc.src.signal.raise
libc.src.signal.sigaction
)
add_libc_unittest(
@ -32,12 +31,12 @@ add_libc_unittest(
SRCS
sigprocmask_test.cpp
DEPENDS
libc.include.signal
libc.include.errno
libc.src.errno.__errno_location
libc.src.signal.raise
libc.src.signal.sigprocmask
libc.src.signal.sigaddset
libc.src.signal.sigemptyset
libc.src.signal.sigprocmask
)
add_libc_unittest(
@ -47,8 +46,8 @@ add_libc_unittest(
SRCS
sigaddset_test.cpp
DEPENDS
libc.include.errno
libc.include.signal
libc.src.errno.__errno_location
libc.src.signal.sigaddset
)
@ -63,7 +62,6 @@ add_libc_unittest(
libc.include.signal
libc.src.errno.__errno_location
libc.src.signal.raise
libc.src.signal.sigaction
libc.src.signal.signal
)
@ -76,7 +74,6 @@ add_libc_unittest(
DEPENDS
libc.include.errno
libc.include.signal
libc.src.errno.__errno_location
libc.src.signal.raise
libc.src.signal.sigfillset
libc.src.signal.sigprocmask
@ -91,7 +88,6 @@ add_libc_unittest(
DEPENDS
libc.include.errno
libc.include.signal
libc.src.errno.__errno_location
libc.src.signal.raise
libc.src.signal.sigdelset
libc.src.signal.sigfillset

View File

@ -8,7 +8,6 @@
#include "include/errno.h"
#include "include/signal.h"
#include "src/errno/llvmlibc_errno.h"
#include "src/signal/sigaddset.h"
#include "utils/UnitTest/ErrnoSetterMatcher.h"