| # 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/fidl/fidl.gni") |
| import("//build/test.gni") |
| import("//tools/fidl/measure-tape/measure_tape.gni") |
| |
| test("hlcpp-tests") { |
| sources = [ "hlcpp_test.cc" ] |
| |
| deps = [ |
| ":measure_tape_for_toplevelunion", |
| "//garnet/public/lib/gtest", |
| "//src/lib/fxl/test:gtest_main", |
| "//tools/fidl/measure-tape/testdata:measuretape", |
| ] |
| } |
| |
| measure_tape("measure_tape_for_toplevelunion") { |
| testonly = true |
| target_binding = "hlcpp" |
| target_type = "measuretape/TopLevelUnion" |
| fidls = [ "//tools/fidl/measure-tape/testdata:measuretape" ] |
| } |