| # Copyright 2026 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 the fidl GN template. (Mapped to Bazel load) | |
| load("//build/bazel/rules/fidl:fidl_library.bzl", "fidl_library") | |
| package(default_applicable_licenses = ["//:license"]) | |
| # Define a target for our FIDL library by passing it the FIDL source files | |
| # that make up the library. | |
| fidl_library( | |
| name = "fuchsia.examples", | |
| srcs = [ | |
| "echo.test.fidl", | |
| "types.test.fidl", | |
| ], | |
| api_area = "Testing", | |
| # Used by CTF examples. | |
| category = "compat_test", | |
| enable_hlcpp = True, | |
| enable_rust_next = True, | |
| stable = True, | |
| visibility = ["//visibility:public"], | |
| deps = ["//zircon/vdso/zx"], | |
| ) |