blob: e51fcbde9ff29c456ff3d7e393bb87fb0eddedf6 [file] [log] [blame]
# Copyright 2018 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")
rustc_library("bt-avdtp") {
name = "bt_avdtp"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-syslog",
"//garnet/public/rust/fuchsia-zircon",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:futures-preview",
"//third_party/rust-crates/rustc_deps:parking_lot",
"//third_party/rust-crates/rustc_deps:pin-utils",
"//third_party/rust-crates/rustc_deps:slab",
]
}
package("tests") {
testonly = true
package_name = "bt-avdtp-tests"
deps = [
":bt-avdtp",
]
tests = [
{
name = "bt_avdtp_lib_test"
dest = "bt-avdtp-unittests"
},
]
}