| # 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/components.gni") |
| import("//build/test.gni") |
| |
| test("perftest") { |
| output_name = "perf-test" |
| sources = [ |
| "results-test.cc", |
| "runner-test.cc", |
| ] |
| deps = [ |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/perftest", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("perftest-pkg") { |
| package_name = "perf-test" |
| deps = [ ":perftest" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ |
| ":perftest($host_toolchain)", |
| ":perftest-pkg", |
| ] |
| } |