| # 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") |
| |
| executable("goldfish_benchmark_bin") { |
| testonly = true |
| |
| output_name = "goldfish_benchmark" |
| |
| sources = [ "main.cc" ] |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.goldfish:fuchsia.hardware.goldfish_cpp", |
| "//sdk/lib/component/incoming/cpp", |
| "//sdk/lib/fdio", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/zircon-internal", |
| "//zircon/system/ulib/zx", |
| ] |
| } |
| |
| fuchsia_test_component("goldfish_benchmark_cmp") { |
| component_name = "goldfish_benchmark" |
| deps = [ ":goldfish_benchmark_bin" ] |
| manifest = "meta/goldfish_benchmark.cml" |
| test_type = "system" |
| } |
| |
| fuchsia_test_package("goldfish_benchmark") { |
| package_name = "goldfish-benchmark" |
| test_components = [ ":goldfish_benchmark_cmp" ] |
| test_specs = { |
| environments = [ aemu_env ] |
| } |
| } |