| # Copyright 2025 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. | |
| ## 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") | |
| if (is_fuchsia) { | |
| rustc_test("developer_console_integration_test") { | |
| sources = [ "src/lib.rs" ] | |
| configs += [ "//build/config/rust/lints:deny_unused_results" ] | |
| edition = "2024" | |
| lint_config = "//build/config/rust/lints:clippy_warn_all" | |
| deps = [ | |
| "//sdk/fidl/fuchsia.component.resolution:fuchsia.component.resolution_rust", | |
| "//sdk/fidl/fuchsia.developer.console:fuchsia.developer.console_rust", | |
| "//sdk/fidl/fuchsia.io:fuchsia.io_rust", | |
| "//sdk/fidl/fuchsia.process:fuchsia.process_rust", | |
| "//sdk/rust/zx", | |
| "//src/lib/fidl/rust/fidl", | |
| "//src/lib/fuchsia-async", | |
| "//src/lib/fuchsia-component", | |
| "//src/storage/lib/vfs/rust:vfs", | |
| "//third_party/rust_crates:futures", | |
| "//third_party/rust_crates:test-case", | |
| ] | |
| } | |
| } | |
| rustc_binary("developer_console_integration_test_support_bin") { | |
| sources = [ "src/support.rs" ] | |
| configs += [ "//build/config/rust/lints:deny_unused_results" ] | |
| source_root = "src/support.rs" | |
| edition = "2024" | |
| lint_config = "//build/config/rust/lints:clippy_warn_all" | |
| deps = [ | |
| "//src/lib/fuchsia-async", | |
| "//src/lib/fuchsia-component", | |
| "//src/lib/fuchsia-fs", | |
| "//src/storage/lib/vfs/rust:vfs", | |
| "//third_party/rust_crates:argh", | |
| "//third_party/rust_crates:futures", | |
| ] | |
| } | |
| fuchsia_component_manifest("developer-console-test-support-manifest") { | |
| component_name = "developer-console-test-support" | |
| manifest = "meta/developer-console-test-support.cml" | |
| } | |
| fuchsia_component("developer-console-test-support") { | |
| cm_label = ":developer-console-test-support-manifest" | |
| deps = [ | |
| ":developer_console_integration_test_support_bin", | |
| "//src/zircon/bin/zxsh:sh", | |
| ] | |
| } | |
| fuchsia_component_manifest("developer-console-integration-test-manifest") { | |
| testonly = true | |
| component_name = "developer-console-integration-test" | |
| manifest = "meta/developer-console-integration-test.cml" | |
| restricted_features = [ "use_dictionaries" ] | |
| } | |
| fuchsia_test_component("developer-console-integration-test-component") { | |
| cm_label = ":developer-console-integration-test-manifest" | |
| deps = [ ":developer_console_integration_test" ] | |
| } | |
| fuchsia_test_package("developer-console-integration-test") { | |
| package_name = "developer-console-integration-test-gn" | |
| test_components = [ ":developer-console-integration-test-component" ] | |
| deps = [ | |
| ":developer-console-test-support", | |
| "//src/bringup/bin/ptysvc:component", | |
| "//src/developer/console:component", | |
| ] | |
| } |