| # 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") |
| |
| group("all") { |
| testonly = true |
| deps = [ ":calculator-example-rust" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ |
| "client:tests", |
| "server:tests", |
| ] |
| } |
| |
| # This component combines the calculator_server & client components into one realm |
| # with all necessary routing. |
| fuchsia_component("realm") { |
| manifest = "realm/meta/realm.cml" |
| } |
| |
| fuchsia_package("calculator-example-rust") { |
| deps = [ |
| ":realm", |
| "//examples/fidl/calculator/rust/client:component", |
| "//examples/fidl/calculator/rust/server:component", |
| ] |
| } |