blob: f746bc68acd9cc38a91c0c1e9cdb9afaa7dc1740 [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("$zx/kernel/params.gni")
executable("kstress") {
sources = [
"main.cpp",
"stress_test.cpp",
]
deps = [
"$zx/system/fidl/fuchsia-sysinfo:c",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fdio",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
]
# The vmstress test has starvation issues when run without the fair scheduler.
if (enable_fair_scheduler) {
sources += ["vmstress.cpp"]
} else {
defines = [ "DISABLE_VMSTRESS" ]
}
}