| # 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/components.gni") |
| |
| group("components-routing-failed-example") { |
| testonly = true |
| deps = [ |
| ":components-routing-failed-example-cpp", |
| ":components-routing-failed-example-rust", |
| ] |
| } |
| |
| # Component manifest that contains an intentionally invalid executable name |
| fuchsia_package_with_single_component("echo_server_bad") { |
| # This flag disables build-time checks on the executable path |
| component_name = "default" |
| check_references = false |
| manifest = "meta/echo_server_bad.cml" |
| } |
| |
| fuchsia_package_with_single_component( |
| "components-routing-failed-example-rust") { |
| component_name = "default" |
| testonly = true |
| manifest = "meta/echo_realm.cml" |
| subpackages = [ |
| ":echo_server_bad", |
| "rust:echo_client", |
| "//examples/components/routing/rust/echo_server", |
| ] |
| } |
| |
| fuchsia_package_with_single_component("components-routing-failed-example-cpp") { |
| component_name = "default" |
| testonly = true |
| manifest = "meta/echo_realm.cml" |
| subpackages = [ |
| ":echo_server_bad", |
| "cpp:echo_client", |
| "//examples/components/routing/cpp/echo_server", |
| ] |
| } |