blob: e93ccba3f90df49cdd1be7345902be0196af6bcb [file] [log] [blame]
# Copyright 2019 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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxb/36548. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/zx_library.gni")
zx_library("fs-pty") {
sdk = "source"
sdk_headers = [
"lib/fs-pty/tty-connection-internal.h",
"lib/fs-pty/service.h",
]
static = true
sources = [
"include/lib/fs-pty/service.h",
"include/lib/fs-pty/tty-connection-internal.h",
"service.cc",
]
include_dirs = [ "include" ]
public_deps = [
"//zircon/public/lib/fbl",
"//zircon/public/lib/fit",
"//zircon/public/lib/fs",
"//zircon/public/lib/zx",
"//zircon/system/fidl/fuchsia-hardware-pty:llcpp",
"//zircon/system/fidl/fuchsia-io:llcpp",
]
deps = [
"//zircon/public/lib/fidl-async-cpp",
"//zircon/public/lib/fs",
"//zircon/system/fidl/fuchsia-io:llcpp",
]
}