forked from OSchip/llvm-project
[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:
parent
1f48e22df8
commit
c08af2c11a
|
@ -38,10 +38,10 @@ add_entrypoint_object(
|
||||||
../sigaction.h
|
../sigaction.h
|
||||||
DEPENDS
|
DEPENDS
|
||||||
.__restore
|
.__restore
|
||||||
.raise
|
|
||||||
libc.config.linux.linux_syscall_h
|
libc.config.linux.linux_syscall_h
|
||||||
libc.include.signal
|
libc.include.signal
|
||||||
libc.include.sys_syscall
|
libc.include.sys_syscall
|
||||||
|
libc.src.errno.__errno_location
|
||||||
)
|
)
|
||||||
|
|
||||||
add_entrypoint_object(
|
add_entrypoint_object(
|
||||||
|
|
|
@ -18,11 +18,10 @@ add_libc_unittest(
|
||||||
SRCS
|
SRCS
|
||||||
sigaction_test.cpp
|
sigaction_test.cpp
|
||||||
DEPENDS
|
DEPENDS
|
||||||
libc.src.signal.sigaction
|
|
||||||
libc.src.signal.raise
|
|
||||||
libc.include.signal
|
|
||||||
libc.include.errno
|
libc.include.errno
|
||||||
libc.src.errno.__errno_location
|
libc.include.signal
|
||||||
|
libc.src.signal.raise
|
||||||
|
libc.src.signal.sigaction
|
||||||
)
|
)
|
||||||
|
|
||||||
add_libc_unittest(
|
add_libc_unittest(
|
||||||
|
@ -32,12 +31,12 @@ add_libc_unittest(
|
||||||
SRCS
|
SRCS
|
||||||
sigprocmask_test.cpp
|
sigprocmask_test.cpp
|
||||||
DEPENDS
|
DEPENDS
|
||||||
libc.include.signal
|
libc.include.errno
|
||||||
libc.src.errno.__errno_location
|
libc.src.errno.__errno_location
|
||||||
libc.src.signal.raise
|
libc.src.signal.raise
|
||||||
libc.src.signal.sigprocmask
|
|
||||||
libc.src.signal.sigaddset
|
libc.src.signal.sigaddset
|
||||||
libc.src.signal.sigemptyset
|
libc.src.signal.sigemptyset
|
||||||
|
libc.src.signal.sigprocmask
|
||||||
)
|
)
|
||||||
|
|
||||||
add_libc_unittest(
|
add_libc_unittest(
|
||||||
|
@ -47,8 +46,8 @@ add_libc_unittest(
|
||||||
SRCS
|
SRCS
|
||||||
sigaddset_test.cpp
|
sigaddset_test.cpp
|
||||||
DEPENDS
|
DEPENDS
|
||||||
|
libc.include.errno
|
||||||
libc.include.signal
|
libc.include.signal
|
||||||
libc.src.errno.__errno_location
|
|
||||||
libc.src.signal.sigaddset
|
libc.src.signal.sigaddset
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -63,7 +62,6 @@ add_libc_unittest(
|
||||||
libc.include.signal
|
libc.include.signal
|
||||||
libc.src.errno.__errno_location
|
libc.src.errno.__errno_location
|
||||||
libc.src.signal.raise
|
libc.src.signal.raise
|
||||||
libc.src.signal.sigaction
|
|
||||||
libc.src.signal.signal
|
libc.src.signal.signal
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -76,7 +74,6 @@ add_libc_unittest(
|
||||||
DEPENDS
|
DEPENDS
|
||||||
libc.include.errno
|
libc.include.errno
|
||||||
libc.include.signal
|
libc.include.signal
|
||||||
libc.src.errno.__errno_location
|
|
||||||
libc.src.signal.raise
|
libc.src.signal.raise
|
||||||
libc.src.signal.sigfillset
|
libc.src.signal.sigfillset
|
||||||
libc.src.signal.sigprocmask
|
libc.src.signal.sigprocmask
|
||||||
|
@ -91,7 +88,6 @@ add_libc_unittest(
|
||||||
DEPENDS
|
DEPENDS
|
||||||
libc.include.errno
|
libc.include.errno
|
||||||
libc.include.signal
|
libc.include.signal
|
||||||
libc.src.errno.__errno_location
|
|
||||||
libc.src.signal.raise
|
libc.src.signal.raise
|
||||||
libc.src.signal.sigdelset
|
libc.src.signal.sigdelset
|
||||||
libc.src.signal.sigfillset
|
libc.src.signal.sigfillset
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
#include "include/errno.h"
|
#include "include/errno.h"
|
||||||
#include "include/signal.h"
|
#include "include/signal.h"
|
||||||
#include "src/errno/llvmlibc_errno.h"
|
|
||||||
#include "src/signal/sigaddset.h"
|
#include "src/signal/sigaddset.h"
|
||||||
|
|
||||||
#include "utils/UnitTest/ErrnoSetterMatcher.h"
|
#include "utils/UnitTest/ErrnoSetterMatcher.h"
|
||||||
|
|
Loading…
Reference in New Issue