| # 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") |
| import("//build/rust/rustc_binary.gni") |
| |
| rustc_binary("bin") { |
| name = "start_sl4f" |
| with_unit_tests = true |
| edition = "2018" |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.component:fuchsia.component_rust", |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-component", |
| "//third_party/rust_crates:anyhow", |
| ] |
| |
| sources = [ "src/main.rs" ] |
| } |
| |
| # Enabling a soft-transition, remove when complete |
| # TODO(122864) Remove transitional labels |
| group("for_transition") { |
| public_deps = [ ":start_sl4f" ] |
| } |
| |
| fuchsia_shell_package("start_sl4f") { |
| deps = [ ":bin" ] |
| } |