blob: f9419079fef3eeee33d1244073008b0d4c9bf5db [file]
# 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") {
testonly = true
output_name = "mock_resolver_for_dash_launcher"
edition = "2024"
deps = [
"//sdk/fidl/fuchsia.pkg:fuchsia.pkg_rust",
"//src/lib/fuchsia",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-fs",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:tempfile",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("mock_resolver") {
testonly = true
manifest = "meta/mock_resolver.cml"
deps = [ ":bin" ]
}