blob: 7870174e06bd3baf9fc4817cc6a456255eee8c8f [file] [log] [blame]
# Copyright 2023 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/rust/rustc_library.gni")
# compat_info is used cross toolchain
rustc_library("lib") {
name = "compat_info"
edition = "2021"
with_unit_tests = true
sources = [ "src/lib.rs" ]
deps = [
"//sdk/fidl/fuchsia.developer.remotecontrol:fuchsia.developer.remotecontrol_rust",
"//src/lib/versioning/version-history/rust",
"//third_party/rust_crates:schemars",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
]
}
group("tests") {
testonly = true
public_deps = [ ":lib_test($host_toolchain)" ]
}
group("compat_info") {
deps = [ ":lib" ]
}