blob: eac3c22f3b11b4e58a4e1c8a5e9a33731d1dcf07 [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/36139. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/images/migrated_manifest.gni")
executable("blktest") {
if (is_fuchsia) {
configs += [ "//build/unification/config:zircon-migrated" ]
}
# Dependent manifests unfortunately cannot be marked as `testonly`.
# TODO(44278): Remove when converting this file to proper GN build idioms.
testonly = false
sources = [ "main.c" ]
deps = [
"//zircon/public/lib/unittest",
"//zircon/system/ulib/blktest",
]
}
migrated_manifest("blktest-manifest") {
deps = [ ":blktest" ]
}