blob: fe072deb9f2d195c30cec3778590ad1c8c149c97 [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",
"//sdk/fidl/fuchsia.test:fuchsia.test-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-runtime",
"//src/lib/storage/pseudo-fs",
"//src/lib/syslog/rust:syslog",
"//src/lib/zircon/rust:fuchsia-zircon",
"//src/sys/component_manager:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
"//third_party/rust_crates:thiserror",
"//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/memfs",
"//zircon/public/lib/sync",
]
}
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" ]
}