blob: a665f82d88de2a479947f1ec91c3fc0432819a2c [file] [log] [blame]
# Copyright 2020 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/host.gni")
import("//build/rust/rustc_library.gni")
group("strings") {
testonly = true
public_deps = [
":lib($host_toolchain)",
":tests",
]
}
group("tests") {
testonly = true
public_deps = [ ":lib_test($host_toolchain)" ]
}
if (host_toolchain == current_toolchain) {
rustc_library("lib") {
name = "intl_strings"
with_unit_tests = true
edition = "2018"
deps = [
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:handlebars",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:structopt",
"//third_party/rust_crates:thiserror",
"//third_party/rust_crates:xml-rs",
]
test_deps = []
}
}