blob: ee8411fb066cb28d0d48344c5148b5c034a0e03c [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/assembly/bootfs_files_for_assembly.gni")
import("//build/components.gni")
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
executable("bin") {
visibility = [ ":*" ]
if (is_fuchsia) {
configs += [ "//build/config:all_source" ]
}
output_name = "mutex_pi_exerciser"
sources = [
"event.cc",
"main.cc",
"thread.cc",
"tracer.cc",
]
deps = [
"//sdk/fidl/fuchsia.kernel:fuchsia.kernel_hlcpp",
"//sdk/lib/fdio",
"//sdk/lib/stdcompat",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/fbl",
"//zircon/system/ulib/sync",
"//zircon/system/ulib/trace",
"//zircon/system/ulib/trace-engine",
"//zircon/system/ulib/trace-provider",
"//zircon/system/ulib/zircon-internal",
"//zircon/system/ulib/zx",
]
}
bootfs_files_for_assembly("bootfs") {
deps = [ ":bin" ]
}