| # 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("blktest") { |
| sdk = "shared" |
| sdk_headers = [ "blktest/blktest.h" ] |
| shared = true |
| testonly = true |
| sources = [ "blktest.cc" ] |
| deps = [ |
| "//zircon/public/lib/block-client", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/fdio", |
| "//zircon/public/lib/fdio-caller", |
| "//zircon/public/lib/fzl", |
| "//zircon/public/lib/pretty", |
| "//zircon/public/lib/sync", |
| "//zircon/public/lib/unittest", |
| "//zircon/public/lib/zx", |
| "//zircon/system/fidl/fuchsia-hardware-block:c", |
| ] |
| configs += [ "//build/config/fuchsia:static_cpp_standard_library" ] |
| } |