blob: 81ac7ff4ab648b129f8877e54ba7826338e29109 [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_library.gni")
rustc_library("isolated-ota-env") {
testonly = true
edition = "2021"
deps = [
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//sdk/fidl/fuchsia.paver:fuchsia.paver_rust",
"//src/lib/fdio/rust:fdio",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-component-test",
"//src/lib/fuchsia-fs",
"//src/lib/fuchsia-sync",
"//src/lib/fuchsia-url",
"//src/sys/lib/fidl-fuchsia-pkg-ext",
"//src/sys/pkg/lib/fuchsia-merkle",
"//src/sys/pkg/lib/fuchsia-pkg-testing",
"//src/sys/pkg/lib/fuchsia-pkg-testing/certs",
"//src/sys/pkg/lib/isolated-ota",
"//src/sys/pkg/testing/mock-omaha-server",
"//src/sys/pkg/testing/mock-paver",
"//src/sys/pkg/tests/pkg-resolver:empty-repo",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:tempfile",
]
sources = [ "src/lib.rs" ]
configs += [ "//build/config/rust/lints:clippy_warn_all" ]
}