blob: 6ca09514e47900f13c87051467703071c9373be9 [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/package.gni")
import("//build/rust/rustc_binary.gni")
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
rustc_binary("intl_property_manager_bin") {
name = "intl_property_manager"
edition = "2018"
with_unit_tests = true
deps = [
"//garnet/examples/intl/manager/fidl:fuchsia.examples.intl.manager-rustc",
"//garnet/lib/rust/fidl_fuchsia_intl_ext",
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-component",
"//garnet/public/rust/fuchsia-runtime",
"//garnet/public/rust/fuchsia-syslog",
"//sdk/fidl/fuchsia.intl:fuchsia.intl-rustc",
"//sdk/fidl/fuchsia.sys:fuchsia.sys-rustc",
"//third_party/rust_crates:clap",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:futures-preview",
"//third_party/rust_crates:lazy_static",
]
}
package("intl_property_manager") {
deps = [
":intl_property_manager_bin",
]
binaries = [
{
name = "intl_property_manager"
},
]
meta = [
{
path = rebase_path("meta/intl_property_manager.cmx")
dest = "intl_property_manager.cmx"
},
]
}
test_package("intl_property_manager_tests") {
deps = [
":intl_property_manager_bin",
]
tests = [
{
name = "intl_property_manager_bin_test"
environments = basic_envs
},
]
}