blob: 101472f68b6b6a3c6c91b5080fc92a36aedaa6ee [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.
executable("mutex_pi_exerciser") {
if (is_fuchsia) {
configs += [
"//build/unification/config:zircon-migrated",
"//build/config:all_source",
]
}
if (is_fuchsia) {
fdio_config = [ "//build/config/fuchsia:fdio_config" ]
if (configs + fdio_config - fdio_config != configs) {
configs -= fdio_config
}
}
sources = [
"event.cc",
"main.cc",
"thread.cc",
"tracer.cc",
]
deps = [
"//sdk/fidl/fuchsia.scheduler:fuchsia.scheduler_c",
"//sdk/lib/fdio",
"//zircon/public/lib/fbl",
"//zircon/public/lib/sync",
"//zircon/public/lib/zircon-internal",
"//zircon/public/lib/zx",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/trace",
"//zircon/system/ulib/trace-engine",
"//zircon/system/ulib/trace-provider:trace-provider-with-fdio",
]
}