| # Copyright 2022 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("//sdk/ctf/build/ctf.gni") |
| |
| # This is a FIDL library containing protocol declarations that are useful for |
| # writing unknown interaction tests for FIDL bindings. |
| fidl("test.unknown.interactions") { |
| testonly = true |
| sources = [ "unknown_interactions.test.fidl" ] |
| enable_hlcpp = true |
| contains_drivers = true |
| } |
| |
| fidl("test.protocol.connector") { |
| testonly = true |
| sources = [ "protocol_connector.test.fidl" ] |
| enable_hlcpp = true |
| } |
| |
| # A library containing just an empty protocol. |
| fidl("test.empty.protocol") { |
| testonly = true |
| sources = [ "empty_protocol.test.fidl" ] |
| enable_hlcpp = true |
| } |
| |
| # Methods returning application errors. |
| fidl("test.error.methods") { |
| testonly = true |
| sources = [ "error_methods.test.fidl" ] |
| enable_hlcpp = true |
| } |
| |
| # Simple one way/two way echo methods and events that test the basic operation |
| # of client and server APIs. |
| fidl("test.basic.protocol") { |
| testonly = true |
| sources = [ "basic_protocol.test.fidl" ] |
| public_deps = [ "//zircon/vdso/zx" ] |
| enable_hlcpp = true |
| } |