| # 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_test.gni") |
| import("//tools/fidl/measure-tape/measure_tape.gni") |
| |
| rustc_test("rust-tests") { |
| edition = "2018" |
| deps = [ |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//tools/fidl/measure-tape/testdata:measuretape-rustc", |
| ] |
| |
| non_rust_deps = [ ":measure_tape_for_toplevelunion" ] |
| |
| sources = [ "src/lib.rs" ] |
| } |
| |
| measure_tape("measure_tape_for_toplevelunion") { |
| testonly = true |
| target_binding = "rust" |
| target_type = "measuretape/TopLevelUnion" |
| fidls = [ "//tools/fidl/measure-tape/testdata:measuretape" ] |
| } |