blob: ffe1ec82c3b894611d4b9e1383d419d5cbb2e76f [file] [log] [blame]
# Copyright 2019 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/package.gni")
import("//build/rust/rustc_library.gni")
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
rustc_library("fuchsia-stream-processors") {
name = "fuchsia_stream_processors"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.media:fuchsia.media-rustc",
"//sdk/fidl/fuchsia.mediacodec:fuchsia.mediacodec-rustc",
"//src/lib/fdio/rust:fdio",
"//src/lib/fidl/rust/fidl",
"//src/lib/fidl_table_validation",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:lazy_static",
"//third_party/rust_crates:thiserror",
]
test_deps = []
sources = [
"src/lib.rs",
"src/types.rs",
]
}
test_package("fuchsia-stream-processors-tests") {
deps = [ ":fuchsia-stream-processors_test" ]
tests = [
{
name = "fuchsia_stream_processors_lib_test"
environments = basic_envs
},
]
}