blob: 37dbcb47115540ae9ed8d6a2109b1f191abc07b9 [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")
import("//build/sdk/sdk_host_tool.gni")
rustc_binary("fake-omaha-client") {
with_unit_tests = true
edition = "2021"
deps = [
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-hyper",
"//third_party/rust_crates:argh",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:hyper",
"//third_party/rust_crates:hyper-rustls",
"//third_party/rust_crates:omaha_client",
]
sources = [ "src/main.rs" ]
configs += [ "//build/config/rust/lints:clippy_warn_all" ]
}
sdk_host_tool("bin_sdk") {
category = "partner"
output_name = "fake-omaha-client"
deps = [ ":fake-omaha-client" ]
}
group("fake-omaha-client-host") {
deps = [ ":fake-omaha-client($host_toolchain)" ]
}