| # 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/package.gni") |
| |
| executable("bin") { |
| testonly = true |
| |
| output_name = "goldfish_benchmark" |
| |
| sources = [ "main.cc" ] |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.goldfish:fuchsia.hardware.goldfish_llcpp", |
| "//sdk/lib/fdio", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/zircon-internal", |
| "//zircon/public/lib/zx", |
| ] |
| |
| # TODO(fxbug.dev/58162): delete the below and fix compiler warnings |
| configs += [ "//build/config:Wno-conversion" ] |
| } |
| |
| package("goldfish_benchmark") { |
| testonly = true |
| |
| deps = [ ":bin" ] |
| |
| binaries = [ |
| { |
| name = "goldfish_benchmark" |
| }, |
| ] |
| |
| meta = [ |
| { |
| path = rebase_path("meta/goldfish_benchmark.cmx") |
| dest = "goldfish_benchmark.cmx" |
| }, |
| ] |
| } |