blob: 1f45c8196a848ef5df3708344399f908a354f797 [file] [log] [blame]
# Copyright 2020 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.
group("tests") {
testonly = true
deps = [ "tests" ]
}
config("nix_headers") {
include_dirs = [ "include" ]
}
static_library("nix") {
public = [
"include/sys/epoll.h",
"include/sys/random.h",
"include/sys/sendfile.h",
"include/sys/statx.h",
]
sources = [
"epoll.cc",
"random.cc",
"sendfile.cc",
"statx.cc",
]
deps = [
"//sdk/fidl/fuchsia.posix.socket",
"//sdk/lib/fdio",
"//sdk/lib/zxio",
"//zircon/system/ulib/fbl",
"//zircon/third_party/ulib/safemath",
]
defines = [ "_ALL_SOURCE" ]
public_configs = [ ":nix_headers" ]
}