mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 06:06:34 +08:00
[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:
@@ -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(
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user