blob: 41aefb2e7a8c725ee5ac5b7ffaf6bce3afb58381 [file] [log] [blame]
# Copyright 2018 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")
import("//src/sys/build/components.gni")
rustc_library("escaped-cstring") {
name = "escaped-cstring"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"//third_party/rust_crates:memchr",
"//third_party/rust_crates:smallvec",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("escaped-cstring-tests") {
deps = [ ":escaped-cstring_test" ]
}