| # Copyright 2016 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("socket") { |
| visibility = [ "//src/lib/fsl/*" ] |
| |
| sources = [ |
| "blocking_drain.cc", |
| "blocking_drain.h", |
| "files.cc", |
| "files.h", |
| "socket_drainer.cc", |
| "socket_drainer.h", |
| "strings.cc", |
| "strings.h", |
| ] |
| |
| public_deps = [ |
| "//sdk/lib/syslog/cpp", |
| "//src/lib/files", |
| "//src/lib/fxl:common", |
| "//zircon/public/lib/async-cpp", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/zx", |
| "//zircon/system/ulib/async-default", |
| ] |
| |
| public_configs = [ "//garnet/public:config" ] |
| |
| # TODO(fxbug.dev/58162): delete the below and fix compiler warnings |
| configs += [ "//build/config:Wno-conversion" ] |
| } |