blob: 3b70b3f0151bcd90111dd3dd055daaff363a73f5 [file] [log] [blame]
# 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 = "2021"
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:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:structopt",
]
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",
]
}