blob: 9960bed66d97c2eea9126ae04a634119e9c042a3 [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/components.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("fuchsia_component_test_framework_intermediary_bin") {
name = "fuchsia_component_test_framework_intermediary"
sources = [
"src/main.rs",
"src/resolver.rs",
"src/runner.rs",
]
deps = [
"//garnet/lib/rust/io_util",
"//sdk/fidl/fuchsia.component.runner:fuchsia.component.runner-rustc",
"//sdk/fidl/fuchsia.data:fuchsia.data-rustc",
"//sdk/fidl/fuchsia.io:fuchsia.io-rustc",
"//sdk/fidl/fuchsia.mem:fuchsia.mem-rustc",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-component-test/fidl:fuchsia.realm.builder-rustc",
"//src/lib/storage/vfs/rust:vfs",
"//src/lib/syslog/rust:syslog",
"//src/lib/zircon/rust:fuchsia-zircon",
"//src/sys/lib/cm_fidl_validator",
"//src/sys/lib/cm_rust",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
]
}
fuchsia_component("fuchsia_component_test_framework_intermediary_component") {
manifest = "meta/framework-intermediary.cml"
component_name = "framework-intermediary"
deps = [ ":fuchsia_component_test_framework_intermediary_bin" ]
}
fuchsia_package("fuchsia-component-test") {
deps = [ ":fuchsia_component_test_framework_intermediary_component" ]
}