blob: f0d55a16df750896b4c0b2a9bfa6541a4a01483e [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/inotify.h",
"include/sys/random.h",
"include/sys/sendfile.h",
"include/sys/statx.h",
]
sources = [
"epoll.cc",
"inotify.cc",
"random.cc",
"sendfile.cc",
"statx.cc",
]
deps = [
"//sdk/fidl/fuchsia.posix.socket",
"//sdk/lib/fdio",
"//zircon/public/lib/fbl",
"//zircon/system/ulib/zxio",
]
defines = [ "_ALL_SOURCE" ]
public_configs = [ ":nix_headers" ]
}