blob: 9f0ad0b59bf231f469858087c75bd9969416245d [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",
]
sources = [
"epoll.cc",
"inotify.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" ]
}