| # 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/36139. # |
| ########################################## |
| |
| assert(!defined(zx) || zx != "/", |
| "This file can only be used in the Fuchsia GN build.") |
| |
| import("//build/test.gni") |
| import("//build/unification/images/migrated_manifest.gni") |
| |
| test("fs-bench") { |
| # Dependent manifests unfortunately cannot be marked as `testonly`. |
| # TODO(44278): Remove when converting this file to proper GN build idioms. |
| testonly = false |
| configs += [ "//build/unification/config:zircon-migrated" ] |
| test_group = "fs" |
| sources = [ "fs-bench.cc" ] |
| deps = [ |
| "//zircon/public/lib/async", |
| "//zircon/public/lib/async-cpp", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/fdio", |
| "//zircon/public/lib/sync", |
| "//zircon/public/lib/zx", |
| "//zircon/system/fidl/fuchsia-io:c", |
| "//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/digest", |
| "//zircon/system/ulib/fs", |
| "//zircon/system/ulib/fs-management", |
| "//zircon/system/ulib/fs-test-utils", |
| "//zircon/system/ulib/fvm", |
| "//zircon/system/ulib/fzl", |
| "//zircon/system/ulib/gpt", |
| "//zircon/system/ulib/memfs", |
| "//zircon/system/ulib/memfs:memfs-cpp", |
| "//zircon/system/ulib/perftest", |
| "//zircon/system/ulib/trace", |
| "//zircon/system/ulib/trace-engine", |
| "//zircon/system/ulib/trace-provider:trace-provider-with-fdio", |
| "//zircon/system/ulib/unittest", |
| ] |
| |
| # TODO(46859): Fix the leaks and remove this. |
| deps += [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ] |
| } |
| |
| migrated_manifest("fs-bench-manifest") { |
| deps = [ ":fs-bench" ] |
| } |