blob: 5e7e88c276586f5a9f873a62958252aadc2d1ba6 [file] [log] [blame] [edit]
# 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")
group("services") {
testonly = true
deps = [ ":tests" ]
}
group("tests") {
testonly = true
deps = [
":service-examples-cpp",
":service-examples-rust",
]
}
fuchsia_component("services-cmp") {
testonly = true
component_name = "services"
manifest = "meta/services.cml"
}
# Run with `fx test service-examples-rust`
fuchsia_test_package("service-examples-rust") {
test_components = [ ":services-cmp" ]
deps = [
"rust:branch-cmp",
"rust:provider-a-cmp",
"rust:provider-b-cmp",
]
}
# Run with `fx test service-examples-cpp`
fuchsia_test_package("service-examples-cpp") {
test_components = [ ":services-cmp" ]
deps = [
"cpp:branch-cmp",
"cpp:provider-a-cmp",
"cpp:provider-b-cmp",
]
}