blob: 18da56c3b2c01ad1c5b7bb5ae394a53d6bccce94 [file] [log] [blame]
# Copyright 2019 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("//build/test/test_package.gni")
import("//build/testing/environments.gni")
rustc_library("offset_string") {
edition = "2018"
with_unit_tests = true
deps = [
"//src/fonts/char_set",
"//src/lib/intl/unicode_utils/char_collection",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_derive",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:unic-char-range",
]
}
test_package("offset_string_tests") {
deps = [
":offset_string_test",
]
tests = [
{
name = "offset_string_lib_test"
environments = basic_envs
},
]
}
group("tests") {
testonly = true
public_deps = [
":offset_string_tests",
]
}