blob: bdd268cfd1ba312eb8eaed28b723f88203296ffd [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/component.gni")
import("//build/rust/rustc_binary.gni")
import("//build/test/test_package.gni")
rustc_binary("bin") {
name = "component_manager_for_test_bin"
edition = "2018"
deps = [
"//garnet/lib/rust/files_async",
"//garnet/lib/rust/io_util",
"//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",
"//garnet/public/rust/fuchsia-vfs/pseudo-fs",
"//garnet/public/rust/fuchsia-zircon",
"//sdk/fidl/fuchsia.test:fuchsia.test-rustc",
"//src/sys/component_manager:lib",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:futures-preview",
"//third_party/rust_crates:log",
"//zircon/system/fidl/fuchsia-io:fuchsia-io-rustc",
]
non_rust_deps = [
"//zircon/public/lib/async",
"//zircon/public/lib/async-default",
"//zircon/public/lib/async-loop",
"//zircon/public/lib/async-loop-default",
"//zircon/public/lib/sync",
"//zircon/public/lib/memfs",
]
}
package("component_manager_for_test") {
deps = [
":bin",
]
binaries = [
{
name = "component_manager_for_test_bin"
},
]
meta = [
{
path = rebase_path("meta/component_manager_for_test.cmx")
dest = "component_manager_for_test.cmx"
},
]
}
group("tests") {
testonly = true
deps = [
"tests",
]
}