| # Copyright 2021 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("bin") { |
| testonly = true |
| output_name = "radar-integration-test" |
| sources = [ "radar-integration-test.cc" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.radar:fuchsia.hardware.radar_llcpp", |
| "//sdk/lib/fdio", |
| "//sdk/lib/fit", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/zxtest", |
| ] |
| |
| # TODO(https://fxbug.dev/58162): delete the below and fix compiler warnings |
| configs += [ "//build/config:Wno-conversion" ] |
| } |
| |
| fuchsia_test_component("component") { |
| deps = [ ":bin" ] |
| manifest = "meta/manifest.cmx" |
| } |
| |
| fuchsia_test_package("radar-integration-test") { |
| test_components = [ ":component" ] |
| test_specs = { |
| environments = [ nelson_env ] |
| } |
| } |