blob: a277d85bceeeed8903abb764a448e52c5bdee2a5 [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("runtests") {
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 = [ "runtests.cc" ]
deps = [
"//zircon/public/lib/async",
"//zircon/public/lib/async-loop",
"//zircon/public/lib/fbl",
"//zircon/public/lib/fidl",
"//zircon/public/lib/zircon-internal",
"//zircon/public/lib/zx",
"//zircon/system/fidl/fuchsia-logger:c",
"//zircon/system/ulib/loader-service",
"//zircon/system/ulib/runtests-utils",
]
# TODO(45181): Fix the leaks and remove this.
deps += [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ]
}
migrated_manifest("runtests-manifest") {
deps = [ ":runtests" ]
}