blob: e49ab8c3abc25babf2e9b880e19ed85e000a0819 [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.
import("//build/unification/zx_library.gni")
zx_library("fs-test-utils") {
sdk = "source"
sdk_headers = [
"fs-test-utils/fixture.h",
"fs-test-utils/perftest.h",
"fs-test-utils/unittest.h",
]
testonly = true
sources = [
"fixture.cc",
"perftest.cc",
]
public_deps = [
# <fs-test-utils/fixture.h> has #include <ramdevice-client/ramdisk.h>.
"//zircon/system/ulib/ramdevice-client",
# <fs-test-utils/blobfs/bloblist.h> has #include <lib/zircon-internal/thread_annotations.h>.
"//zircon/public/lib/zircon-internal",
]
deps = [
"//sdk/fidl/fuchsia.device:fuchsia.device_c",
"//sdk/fidl/fuchsia.device:fuchsia.device_llcpp",
"//sdk/lib/fdio",
"//src/lib/digest",
"//src/lib/storage/fs_management",
"//src/lib/storage/vfs/cpp",
"//src/storage/fvm",
"//src/storage/gpt",
"//src/storage/memfs",
"//src/storage/memfs:memfs-cpp",
"//zircon/public/lib/async",
"//zircon/public/lib/async-cpp",
"//zircon/public/lib/fbl",
"//zircon/public/lib/sync",
"//zircon/public/lib/zx",
"//zircon/system/ulib/async-default",
"//zircon/system/ulib/async-loop",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/devmgr-integration-test",
"//zircon/system/ulib/devmgr-launcher",
"//zircon/system/ulib/fdio-caller",
"//zircon/system/ulib/fzl",
"//zircon/system/ulib/perftest",
"//zircon/system/ulib/ramdevice-client",
"//zircon/system/ulib/trace",
"//zircon/system/ulib/trace-engine",
"//zircon/system/ulib/unittest",
]
# TODO(fxbug.dev/69585): This target uses raw zx::channel with LLCPP which is deprecated.
# Please migrate to typed channel APIs (fidl::ClientEnd<T>, fidl::ServerEnd<T>).
# See linked bug for details.
configs += [ "//build/cpp:fidl-llcpp-deprecated-raw-channels" ]
}