blob: 1017fc1f76d6670559b40d3613910ce3012d0340 [file] [log] [blame]
# 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("exit-with-error-bin") {
edition = "2021"
output_name = "exit_with_error_bin"
testonly = true
sources = [ "src/main.rs" ]
deps = [ "//src/lib/fuchsia" ]
}
fuchsia_component("component") {
component_name = "exit-with-error"
testonly = true
manifest = "meta/exit-with-error.cml"
deps = [ ":exit-with-error-bin" ]
}