| # 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. |
| |
| source_set("fidl-metadata") { |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.adcimpl:fuchsia.hardware.adcimpl_cpp", |
| "//sdk/fidl/fuchsia.hardware.i2c.businfo:fuchsia.hardware.i2c.businfo_cpp", |
| "//sdk/fidl/fuchsia.hardware.registers:fuchsia.hardware.registers_cpp", |
| "//sdk/fidl/fuchsia.hardware.spi.businfo:fuchsia.hardware.spi.businfo_cpp", |
| "//sdk/fidl/fuchsia.hardware.tee:fuchsia.hardware.tee_cpp", |
| "//zircon/system/ulib/zx", |
| ] |
| |
| include_dirs = [ "." ] |
| sources = [ |
| "adc.cc", |
| "i2c.cc", |
| "registers.cc", |
| "spi.cc", |
| "tee.cc", |
| ] |
| |
| # TODO(https://fxbug.dev/42176699): This target uses mutable tables which are deprecated, |
| # rather than builders. |
| configs += [ "//build/cpp:fidl-wire-deprecated-mutable-tables" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ "test:tests" ] |
| } |