blob: 3193def49170293d8a236d7054b3f0dcb1feee7b [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/public/lib/fbl",
]
defines = [ "_ALL_SOURCE" ]
public_configs = [ ":nix_headers" ]
}