| # 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. | |
| group("all-components") { | |
| testonly = true | |
| deps = [ | |
| ":empty-component", | |
| ":offers-to-children-unavailable", | |
| ":offers-to-children-unavailable-but-optional", | |
| ":optional-use-from-void-component", | |
| ":optional-use-unoffered-component", | |
| ":reader", | |
| ":routing-tests", | |
| ":use-unoffered-component", | |
| ":without-use", | |
| ] | |
| } | |
| ## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ## | |
| # | |
| # ________ _________ ________ ________ | |
| # |\ ____\|\___ ___\\ __ \|\ __ \ | |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ | |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ | |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| | |
| # ____\_\ \ \ \__\ \ \_______\ \__\ | |
| # |\_________\ \|__| \|_______|\|__| | |
| # \|_________| | |
| # | |
| # | |
| # AUTO-GENERATED - DO NOT EDIT | |
| # | |
| # The targets below are auto-generated based on the targets defined in the | |
| # BUILD.bazel file from the same directory. If you made changes to targets in | |
| # Bazel, instead of editing this file manually, run: | |
| # | |
| # > fx bazel2gn | |
| # | |
| # Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and | |
| # rerun bazel2gn. | |
| import("//build/tools/bazel2gn/bazel_migration.gni") | |
| rustc_binary("empty") { | |
| sources = [ "empty.rs" ] | |
| source_root = "empty.rs" | |
| edition = "2024" | |
| } | |
| rustc_binary("use-unoffered") { | |
| sources = [ "use-unoffered.rs" ] | |
| output_name = "use_unoffered" | |
| source_root = "use-unoffered.rs" | |
| edition = "2024" | |
| deps = [ | |
| "//src/lib/fuchsia", | |
| "//src/lib/fuchsia-component", | |
| "//src/sys/component_manager/tests/fidl:components_rust", | |
| "//third_party/rust_crates:futures", | |
| ] | |
| } | |
| rustc_binary("archive-reader") { | |
| sources = [ "archive-reader.rs" ] | |
| output_name = "archive_reader" | |
| source_root = "archive-reader.rs" | |
| edition = "2024" | |
| deps = [ | |
| "//src/lib/diagnostics/data", | |
| "//src/lib/diagnostics/reader", | |
| "//src/lib/fuchsia", | |
| "//src/lib/fuchsia-async", | |
| "//third_party/rust_crates:futures", | |
| "//third_party/rust_crates:log", | |
| ] | |
| } | |
| fuchsia_component_manifest("reader-manifest") { | |
| testonly = true | |
| component_name = "reader" | |
| manifest = "meta/reader.cml" | |
| } | |
| fuchsia_component("reader") { | |
| testonly = true | |
| cm_label = ":reader-manifest" | |
| deps = [ ":archive-reader" ] | |
| } | |
| fuchsia_component_manifest("empty-component-manifest") { | |
| testonly = true | |
| component_name = "empty" | |
| manifest = "meta/empty.cml" | |
| } | |
| fuchsia_component("empty-component") { | |
| testonly = true | |
| cm_label = ":empty-component-manifest" | |
| deps = [ ":empty" ] | |
| } | |
| fuchsia_component_manifest("without-use-manifest") { | |
| testonly = true | |
| component_name = "without-use" | |
| manifest = "meta/without-use.cml" | |
| } | |
| fuchsia_component("without-use") { | |
| testonly = true | |
| cm_label = ":without-use-manifest" | |
| deps = [ ":use-unoffered" ] | |
| } | |
| fuchsia_component_manifest("use-unoffered-component-manifest") { | |
| testonly = true | |
| component_name = "use-unoffered" | |
| manifest = "meta/use-unoffered.cml" | |
| } | |
| fuchsia_component("use-unoffered-component") { | |
| testonly = true | |
| cm_label = ":use-unoffered-component-manifest" | |
| deps = [ ":use-unoffered" ] | |
| } | |
| fuchsia_component_manifest("optional-use-unoffered-component-manifest") { | |
| testonly = true | |
| component_name = "optional-use-unoffered" | |
| manifest = "meta/optional-use-unoffered.cml" | |
| } | |
| fuchsia_component("optional-use-unoffered-component") { | |
| testonly = true | |
| cm_label = ":optional-use-unoffered-component-manifest" | |
| deps = [ ":use-unoffered" ] | |
| } | |
| fuchsia_component_manifest("optional-use-from-void-component-manifest") { | |
| testonly = true | |
| component_name = "optional-use-from-void" | |
| manifest = "meta/optional-use-from-void.cml" | |
| } | |
| fuchsia_component("optional-use-from-void-component") { | |
| testonly = true | |
| cm_label = ":optional-use-from-void-component-manifest" | |
| deps = [ ":use-unoffered" ] | |
| } | |
| fuchsia_component_manifest("offers-to-children-unavailable-manifest") { | |
| testonly = true | |
| component_name = "offers-to-children-unavailable" | |
| manifest = "meta/offers-to-children-unavailable.cml" | |
| } | |
| fuchsia_component("offers-to-children-unavailable") { | |
| testonly = true | |
| cm_label = ":offers-to-children-unavailable-manifest" | |
| } | |
| fuchsia_component_manifest( | |
| "offers-to-children-unavailable-but-optional-manifest") { | |
| testonly = true | |
| component_name = "offers-to-children-unavailable-but-optional" | |
| manifest = "meta/offers-to-children-unavailable-but-optional.cml" | |
| } | |
| fuchsia_component("offers-to-children-unavailable-but-optional") { | |
| testonly = true | |
| cm_label = ":offers-to-children-unavailable-but-optional-manifest" | |
| } | |
| fuchsia_component_manifest("routing-tests-manifest") { | |
| testonly = true | |
| component_name = "routing-tests" | |
| manifest = "meta/routing-tests.cml" | |
| } | |
| fuchsia_component("routing-tests") { | |
| testonly = true | |
| cm_label = ":routing-tests-manifest" | |
| } |