blob: 9b370bfacb01a22c46389b5d39aefbdc40ef6b81 [file] [log] [blame]
# Copyright 2023 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("bin") {
testonly = true
edition = "2021"
name = "settings_realm_factory"
sources = [ "src/main.rs" ]
deps = [
"../fidl:fuchsia.settings.test_rust",
"//sdk/fidl/fuchsia.component.sandbox:fuchsia.component.sandbox_rust",
"//sdk/fidl/fuchsia.inspect:fuchsia.inspect_rust",
"//sdk/fidl/fuchsia.io:fuchsia.io_rust",
"//sdk/fidl/fuchsia.settings:fuchsia.settings_rust",
"//sdk/fidl/fuchsia.stash:fuchsia.stash_rust",
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-component-test",
"//src/lib/sandbox",
"//src/settings/service:setui_service_v2",
"//src/storage/lib/vfs/rust:vfs",
"//src/sys/stash:stash_v2",
"//src/testing/realm_proxy",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
]
}
fuchsia_component("realm-factory-component") {
testonly = true
component_name = "realm-factory"
manifest = "meta/settings-realm-factory.cml"
deps = [ ":bin" ]
}
fuchsia_package("realm-factory") {
package_name = "fuchsia-settings-test-realm-factory"
testonly = true
deps = [ ":realm-factory-component" ]
}