blob: e05a79cb00a747736105c8d2b52a44bcbf5fd0f2 [file] [log] [blame] [edit]
# Copyright 2021 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")
rustc_library("lib") {
name = "buildid"
edition = "2021"
with_unit_tests = true
deps = [ "//third_party/rust_crates:thiserror" ]
non_rust_deps = [ "cpp:buildid" ]
sources = [ "src/lib.rs" ]
}
group("tests") {
testonly = true
public_deps = [ ":lib_test($host_toolchain)" ]
}
group("buildid") {
testonly = true
deps = [
":lib",
":tests",
]
}