| # 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/rust/rustc_library.gni") |
| import("//build/test/test_package.gni") |
| |
| rustc_library("mapped-vmo") { |
| name = "mapped_vmo" |
| version = "0.1.0" |
| with_unit_tests = true |
| edition = "2018" |
| |
| deps = [ |
| "//src/lib/fuchsia-runtime", |
| "//src/lib/shared-buffer", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| ] |
| } |
| |
| unittest_package("mapped-vmo-tests") { |
| deps = [ ":mapped-vmo_test" ] |
| |
| tests = [ |
| { |
| name = "mapped_vmo_lib_test" |
| }, |
| ] |
| } |
| |
| group("tests") { |
| testonly = true |
| public_deps = [ ":mapped-vmo-tests" ] |
| } |