blob: 29063c9417574b7467e79076234d8e97a530d1bb [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.
zx_library("ramdevice-client") {
shared = true
sdk = "shared"
sdk_headers = [
"ramdevice-client/ramdisk.h",
"ramdevice-client/ramnand.h",
]
sources = [
"ramdisk.cc",
"ramnand.cc",
]
public_deps = [
# <ramdevice-client/ramnand.h> has #include <lib/driver-integration-test/fixture.h>
"$zx/system/ulib/driver-integration-test:headers",
]
deps = [
"$zx/system/fidl/fuchsia-device:llcpp",
"$zx/system/fidl/fuchsia-hardware-block:c",
"$zx/system/fidl/fuchsia-hardware-nand:c",
"$zx/system/fidl/fuchsia-hardware-ramdisk:c",
"$zx/system/ulib/ddk",
"$zx/system/ulib/devmgr-integration-test:static",
"$zx/system/ulib/devmgr-launcher:static",
"$zx/system/ulib/driver-integration-test:static",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fdio",
"$zx/system/ulib/fzl",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
]
configs += [ "$zx_build/public/gn/config:static-libc++" ]
}