| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("unistd") { |
| deps = [ "//zircon/third_party/ulib/musl:musl_internal" ] |
| sources = [ |
| "acct.c", |
| "alarm.c", |
| "ctermid.c", |
| "gethostname.c", |
| "getlogin.c", |
| "getlogin_r.c", |
| "pause.c", |
| "posix_close.c", |
| "setpgrp.c", |
| "sleep.c", |
| "tcgetpgrp.c", |
| "tcsetpgrp.c", |
| "ttyname.c", |
| "ualarm.c", |
| "usleep.c", |
| ] |
| |
| configs -= [ "//build/config:symbol_visibility_hidden" ] |
| |
| # TODO(https://fxbug.dev/42136089): delete the below and fix compiler warnings |
| configs += [ "//build/config:Wno-conversion" ] |
| } |