blob: 20208d18df96a07857ec21516bf9347edd80ab97 [file]
# Copyright 2024 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/host.gni")
import("//build/python/python_binary.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("test_component_host_helper") {
edition = "2024"
name = "test_component_host_helper"
deps = [
"//sdk/fidl/fuchsia.component.decl:fuchsia.component.decl_rust",
"//sdk/fidl/fuchsia.data:fuchsia.data_rust",
"//src/lib/fidl/rust/fidl",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:clap",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
]
source_root = "generate_test_component_script_and_config.rs"
sources = [ source_root ]
testonly = true
}
python_binary("package_creation_wrapper") {
main_source = "package_creation_wrapper.py"
deps = [
"//build/python/modules/depfile",
"//build/python/modules/distribution_manifest",
"//build/python/modules/elf",
]
}
python_binary("component_creation_wrapper") {
main_source = "fuchsia_component_creation_wrapper.py"
deps = [
"//build/python/modules/depfile",
"//build/python/modules/distribution_manifest",
]
}