blob: 4fb75c1ec7a141d656ceef8287a59381ea0385e4 [file] [log] [blame]
# 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")
import("//build/rust/rustc_binary.gni")
group("resolvers") {
testonly = true
deps = [ ":tests" ]
}
group("tests") {
testonly = true
deps = [
"boot:tests",
"custom:tests",
"protocol:tests",
]
}
# Binary that hosts the fidl.test.components.Trigger FIDL service.
rustc_binary("trigger-bin") {
edition = "2021"
testonly = true
output_name = "component_manager_test_trigger_bin"
deps = [
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/sys/component_manager/tests/fidl:components-rustc",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:tracing",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("trigger-cmp") {
testonly = true
component_name = "trigger"
manifest = "meta/trigger.cml"
deps = [ ":trigger-bin" ]
}