[libc][Obvious] Fix deps of few threads targets.
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 12 May 2020 23:11:15 +0000 (16:11 -0700)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 12 May 2020 23:14:12 +0000 (16:14 -0700)
A missing dep has been added, and a few redundent deps have been
removed.

libc/src/threads/linux/CMakeLists.txt
libc/test/src/threads/CMakeLists.txt

index 844f5d3..63e956e 100644 (file)
@@ -47,7 +47,7 @@ add_entrypoint_object(
     libc.config.linux.linux_syscall_h
     libc.include.sys_syscall
     libc.include.threads
-    libc.src.sys.mman.mmap
+    libc.src.sys.mman.munmap
     libc.src.__support.common
 )
 
index de56a3f..178323e 100644 (file)
@@ -9,8 +9,6 @@ add_libc_unittest(
   DEPENDS
     libc.include.threads
     libc.src.errno.__errno_location
-    libc.src.sys.mman.munmap
-    libc.src.sys.mman.mmap
     libc.src.threads.thrd_create
     libc.src.threads.thrd_join
 )
@@ -24,8 +22,6 @@ add_libc_unittest(
   DEPENDS
     libc.include.threads
     libc.src.errno.__errno_location
-    libc.src.sys.mman.mmap
-    libc.src.sys.mman.munmap
     libc.src.threads.mtx_init
     libc.src.threads.mtx_lock
     libc.src.threads.mtx_unlock