| # Copyright 2021 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/components.gni") |
| import("//build/test.gni") |
| |
| test("fidl-metadata-unittest") { |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.i2c.businfo:fuchsia.hardware.i2c.businfo_llcpp", |
| "//sdk/fidl/fuchsia.hardware.spi.businfo:fuchsia.hardware.spi.businfo_llcpp", |
| "//sdk/fidl/fuchsia.hardware.tee:fuchsia.hardware.tee_llcpp", |
| "//src/devices/lib/fidl-metadata", |
| "//zircon/system/ulib/zxtest", |
| ] |
| |
| sources = [ |
| "i2c-test.cc", |
| "spi-test.cc", |
| "tee-test.cc", |
| ] |
| |
| # TODO(https://fxbug.dev/58162): delete the below and fix compiler warnings |
| configs += [ "//build/config:Wno-conversion" ] |
| } |
| |
| fuchsia_unittest_package("fidl-metadata-tests") { |
| deps = [ ":fidl-metadata-unittest" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":fidl-metadata-tests" ] |
| } |