| # Copyright 2020 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/components.gni") |
| |
| assert(!defined(zx) || zx != "/", |
| "This file can only be used in the Fuchsia GN build.") |
| |
| executable("bin") { |
| output_name = "pistress" |
| sources = [ |
| "main.cc", |
| "sync_obj.cc", |
| "test_thread.cc", |
| ] |
| deps = [ |
| "//sdk/fidl/fuchsia.scheduler", |
| "//sdk/lib/fdio", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/sync", |
| "//zircon/system/ulib/zx", |
| ] |
| } |
| |
| fuchsia_shell_package("pistress") { |
| deps = [ ":bin" ] |
| } |