| # Copyright 2020 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/rust/rustc_test.gni") |
| import("//src/sys/build/components.gni") |
| |
| rustc_test("component_manager_panic_test_bin") { |
| name = "component_manager_panic_test" |
| edition = "2018" |
| source_root = "component_manager_panic.rs" |
| deps = [ |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-component", |
| "//src/lib/syslog/rust:syslog", |
| "//src/sys/component_manager/testing:test_utils_lib", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:log", |
| "//third_party/rust_crates:matches", |
| ] |
| |
| sources = [ "component_manager_panic.rs" ] |
| } |
| |
| fuchsia_unittest_package("component_manager_panic_test") { |
| manifest = "meta/component_manager_panic_test.cmx" |
| deps = [ ":component_manager_panic_test_bin" ] |
| } |