blob: de67b56a712cfa44fb1e33efcb5562de2cc8d68a [file] [log] [blame]
# 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")
if (is_host) {
rustc_library("libdoc") {
with_unit_tests = true
edition = "2021"
sources = [
"src/lexer.rs",
"src/lib.rs",
"src/parser.rs",
"src/source.rs",
"src/utils.rs",
]
}
group("tests") {
testonly = true
deps = [ ":libdoc_test" ]
}
}