| import("//build/config.gni") | |
| import("//build/fidl/fidl.gni") | |
| import("//build/package.gni") | |
| import("//build/rust/rustc_binary.gni") | |
| import("//build/test/test_package.gni") | |
| import("//build/testing/environments.gni") | |
| rustc_binary("bin") { | |
| name = "inspect_reader_integration_test" | |
| with_unit_tests = true | |
| edition = "2018" | |
| deps = [ | |
| "//garnet/public/rust/fuchsia-hyper", | |
| "//sdk/fidl/fuchsia.diagnostics:fuchsia.diagnostics-rustc", | |
| "//sdk/fidl/fuchsia.sys:fuchsia.sys-rustc", | |
| "//src/lib/cobalt/rust:fuchsia-cobalt", | |
| "//src/lib/fidl/rust/fidl", | |
| "//src/lib/fuchsia-async", | |
| "//src/lib/fuchsia-component", | |
| "//src/lib/fuchsia-url", | |
| "//src/lib/syslog/rust:syslog", | |
| "//src/lib/zircon/rust:fuchsia-zircon", | |
| "//third_party/rust_crates:anyhow", | |
| "//third_party/rust_crates:futures", | |
| "//third_party/rust_crates:hyper", | |
| "//third_party/rust_crates:hyper-rustls", | |
| "//third_party/rust_crates:log", | |
| "//third_party/rust_crates:serde", | |
| "//third_party/rust_crates:serde_json", | |
| "//third_party/rust_crates:tempfile", | |
| "//third_party/rust_crates:thiserror", | |
| "//third_party/rust_crates:timebomb", | |
| "//zircon/system/fidl/fuchsia-cobalt:fuchsia-cobalt-rustc", | |
| ] | |
| } | |
| test_package("inspect_reader_integration_tests") { | |
| deps = [ ":bin_test" ] | |
| tests = [ | |
| { | |
| name = "inspect_reader_integration_test_bin_test" | |
| environments = basic_envs | |
| }, | |
| ] | |
| } |