blob: 6133c0bdb0f75e80edd45179e7c1fa6d9d2e48b6 [file] [log] [blame]
# Copyright 2020 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/rust/rustc_library.gni")
import("//src/sys/build/components.gni")
rustc_library("packet-encoding") {
name = "packet_encoding"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
test_deps = [ "//third_party/rust_crates:matches" ]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("packet-encoding-tests") {
executable_path = "bin/packet_encoding_lib_test"
deps = [ ":packet-encoding_test" ]
}
group("tests") {
testonly = true
deps = [ ":packet-encoding-tests" ]
}