| # Copyright 2022 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/rust/rustc_test.gni") |
| |
| rustc_test("test_bin") { |
| output_name = "dash_launcher_test" |
| edition = "2018" |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.dash:fuchsia.dash-rustc", |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/fuchsia", |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-component", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//third_party/rust_crates:futures", |
| ] |
| |
| sources = [ "src/lib.rs" ] |
| } |
| |
| fuchsia_unittest_package("dash-launcher-test") { |
| manifest = "meta/test.cml" |
| deps = [ |
| ":test_bin", |
| "//src/bringup/bin/ptysvc:component", |
| "//src/sys/tools/dash-launcher:component", |
| "//zircon/third_party/uapp/dash", |
| ] |
| } |
| |
| group("integration_test") { |
| testonly = true |
| deps = [ ":dash-launcher-test" ] |
| } |