blob: 78414812313955a867169e68ee06dbdede16eff5 [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/package/component.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",
]
}
fuchsia_component("intl_property_manager_component") {
manifest = rebase_path("meta/intl_property_manager.cmx")
deps = [
":intl_property_manager_bin",
]
binary = "intl_property_manager"
}
package("intl_property_manager") {
components = [ ":intl_property_manager_component" ]
}
test_package("intl_property_manager_tests") {
deps = [
":intl_property_manager_bin",
]
tests = [
{
name = "intl_property_manager_bin_test"
environments = basic_envs
},
]
}